aboutsummaryrefslogtreecommitdiffstats
path: root/main/libburn/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-09-19 14:09:17 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-09-19 14:41:41 +0000
commitcba02a7a5503e239f1b5d7f3759174744bbc985f (patch)
treecd526b8770b040369b28997bf9bbe1e50bdf87c0 /main/libburn/APKBUILD
parent4502a6802cc4ad45e0bf5d6d2bf42127c545caf7 (diff)
downloadaports-cba02a7a5503e239f1b5d7f3759174744bbc985f.tar.bz2
aports-cba02a7a5503e239f1b5d7f3759174744bbc985f.tar.xz
main/libburn: moved from testing
Diffstat (limited to 'main/libburn/APKBUILD')
-rw-r--r--main/libburn/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/libburn/APKBUILD b/main/libburn/APKBUILD
new file mode 100644
index 0000000000..93bdcf4540
--- /dev/null
+++ b/main/libburn/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libburn
+pkgver=1.2.4
+_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="25b45b1ccf6921a5bce4e2d88f55a81f libburn-1.2.4.tar.gz"