summaryrefslogtreecommitdiffstats
path: root/testing/libburn/APKBUILD
blob: 5e70b79965d3f4d216e7e9f5c0a29e6f19b4cc8e (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libburn
pkgver=1.0.6_p00
_ver=${pkgver%_p*}
_pver=${pkgver##*_p}
pkgrel=1
pkgdesc="Library for reading, mastering and writing optical discs"
url="http://libburnia.pykix.org/"
arch="all"
license="GPL"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://files.libburnia-project.org/releases/libburn-${_ver}.pl${_pver}.tar.gz"

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

package() {
	cd "$_builddir"
	make -j1 DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="7c3bd62964e5885f7733cf904089f82d  libburn-1.0.6.pl00.tar.gz"