aboutsummaryrefslogtreecommitdiffstats
path: root/main/libburn/APKBUILD
blob: c56056ff188b9a16ca90d0fdae9b6e1a57b76b3f (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libburn
pkgver=1.2.8
_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 --prefix=/usr --disable-static
	make || return 1
}

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

md5sums="2838ff6fdd32e69394305f97f806002b  libburn-1.2.8.tar.gz"
sha256sums="5f33c8616c49950729133a4eb751b1bfe4a61943b59ea0a6e5968d475448845c  libburn-1.2.8.tar.gz"
sha512sums="0fcab29201292a4a7341806281b550f36d3849268e5de25b9fe8d5e1610da457897eafdf2b7f2a2b9d3adb1258b5e072bdfd717675dea28ecab11d1f1c8951f1  libburn-1.2.8.tar.gz"