aboutsummaryrefslogtreecommitdiffstats
path: root/main/libburn/APKBUILD
blob: 958631c4a8c30fd978098435d05c64dd4281ab00 (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.2
_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="3c6ee25f172ff28e7b5e5de4f9f26ba9  libburn-1.3.2.tar.gz"
sha256sums="c34d1fbde8b5d946e4f47ab29caae2ceb47ba23253e28cb5cecfbcfc1becab0c  libburn-1.3.2.tar.gz"
sha512sums="6e527c4a65e6a86b7300f3e48d43cadd0e3c5d568d4fe4a9627e7d44618348c624b44ecc082d419859d064f0468b5ff68d588756100a394060abdb45d2a44734  libburn-1.3.2.tar.gz"