aboutsummaryrefslogtreecommitdiffstats
path: root/community/libburn/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libburn/APKBUILD')
-rw-r--r--community/libburn/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/libburn/APKBUILD b/community/libburn/APKBUILD
new file mode 100644
index 0000000000..7fd6179eeb
--- /dev/null
+++ b/community/libburn/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libburn
+pkgver=1.5.2
+_ver=${pkgver%_p*}
+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-2.0-or-later"
+makedepends="linux-headers"
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://files.libburnia-project.org/releases/libburn-${_ver}$_pver.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static
+ make
+}
+
+check() {
+ make check
+}
+package() {
+ make -j1 DESTDIR="$pkgdir" install
+}
+
+sha512sums="a8887907bbfcd9b743dfc2e8924cc9290d7af5a71651aeabfdc5874f2df076278ccdbc94f81efd6a720972f380512d330576739837ba685055ee717dd74797d3 libburn-1.5.2.tar.gz"