aboutsummaryrefslogtreecommitdiffstats
path: root/main/libburn/APKBUILD
blob: cc41cd79a55b95f9c19484a30eb8677dd7512b0a (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.4
_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="6aaaf2cfb09584e69991250e619789b4  libburn-1.3.4.tar.gz"
sha256sums="60244606ebf7d150a5498863e7b8fc695d80b39a4404741e8d601af3312da919  libburn-1.3.4.tar.gz"
sha512sums="070ef744831156db2c603395205ce51bc5db3517a88ec4485caea1c4165a3393d8cc019e06aa323e2cdd8624d2fbc874d30fda39e558a53fe4d35c05d98e0a62  libburn-1.3.4.tar.gz"