aboutsummaryrefslogtreecommitdiffstats
path: root/main/libburn/APKBUILD
blob: eb6ebb0cc8b6cee5a74ad8cb0277ca4084f1e91b (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.4.0
_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
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="82ff94bb04e78eac9b12c7546f005d6f  libburn-1.4.0.tar.gz"
sha256sums="6c975abae4ae1f80e47fc5d1e235f85157f73e954c84627a5ef85d8b1b95ae94  libburn-1.4.0.tar.gz"
sha512sums="33c6eabe79343c9ebd198fb7c23900cac6b92b6834d80d2060062c48ca32a243566ebb3f86b51c5d149ef6aef4da2eaa340b3094960b0bce1fd67c0b82ee75f1  libburn-1.4.0.tar.gz"