aboutsummaryrefslogtreecommitdiffstats
path: root/main/libburn/APKBUILD
blob: 05c78eed54f25f9dbb1d8b4550038e3faa0f3862 (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
40
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libburn
pkgver=1.3.6_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=""
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
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="ebfecd07b09f0e6a06c97bcdaa3f8fa3  libburn-1.3.6.pl01.tar.gz"
sha256sums="6bd6f8bc0f937600842408880e213d051d1203dd58cb4e74fcdb0a99f7f3ac6f  libburn-1.3.6.pl01.tar.gz"
sha512sums="94ba996aaa20cf28542c25a2f7beb7840ebebde64445da65a7fa4c8059bb0651ae3f70562f80b72e3e6e6deff66a2882d5f742a5949283ac7466a4488429ae45  libburn-1.3.6.pl01.tar.gz"