aboutsummaryrefslogtreecommitdiffstats
path: root/main/libburn/APKBUILD
blob: 668a5bc63bdabf177e3eabd1461d24c2c996fb71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libburn
pkgver=1.4.2_p01
_ver=${pkgver%_p*}
_pver=
if [ "$_ver" != "$pkgver" ]; then
	_pver=".pl${pkgver##*_p}"
fi
pkgrel=0
pkgdesc="Library for reading, mastering and writing optical discs"
url="http://libburnia-project.org/"
arch="all"
license="GPL"
depends=""
makedepends="linux-headers "
subpackages="$pkgname-dev $pkgname-doc"
source="http://files.libburnia-project.org/releases/libburn-${_ver}${_pver}.tar.gz"

_builddir="$srcdir"/$pkgname-$_ver
build ()
{
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make -j1 DESTDIR="$pkgdir" install || return 1
}

md5sums="0c85fc29b3cc599cd7617d3f9c5207e6  libburn-1.4.2.pl01.tar.gz"
sha256sums="33cfcd7f5deb3c6f325ca9eaef36c59b4fcb384bfcddaaa16d9a89da88a80edb  libburn-1.4.2.pl01.tar.gz"
sha512sums="74f8187f69e97bf6a138a2d220144f956ad11a5968859272791bc14de7eef675a181bfd211cba1c914fcac1bc70c77dc5adc08fcad027122f81003fbd1554c40  libburn-1.4.2.pl01.tar.gz"