aboutsummaryrefslogtreecommitdiffstats
path: root/main/libburn/APKBUILD
blob: 02eab670f3c2ad09299f6c544bc6847c2177d54e (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libburn
pkgver=1.4.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="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
}

md5sums="cb1cc7c096bd9a2e059fe1fec994c5b4  libburn-1.4.2.tar.gz"
sha256sums="bf641ac8e372b18e52fa911876b21f759e17804aa907eeae6c852f053729610a  libburn-1.4.2.tar.gz"
sha512sums="68bae9ce50d99e7cd7dff60c39636af824142640c474cd67eba5b5659f2ae62c4e693c846f090f866a4b9cc303abf3da7a69f1431bc9e140f4ae2ca71ec59688  libburn-1.4.2.tar.gz"