aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCorey Oliver <corey.jon.oliver@gmail.com>2016-11-03 19:18:09 -0500
committerTimo Teräs <timo.teras@iki.fi>2016-11-04 08:44:13 +0000
commitf94a224a1a46c8339a623f12a92c77b9c47f35cf (patch)
treeac91ffce3f2d42012649be10e5b9ee75236b530e /testing
parentb73931365d1926b1b81b70db1ac480ed4449ff9e (diff)
downloadaports-f94a224a1a46c8339a623f12a92c77b9c47f35cf.tar.bz2
aports-f94a224a1a46c8339a623f12a92c77b9c47f35cf.tar.xz
testing/libzen: fix and move from unmaintained
Diffstat (limited to 'testing')
-rw-r--r--testing/libzen/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/libzen/APKBUILD b/testing/libzen/APKBUILD
new file mode 100644
index 0000000000..2f990f58c1
--- /dev/null
+++ b/testing/libzen/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Corey Oliver <corey.jon.oliver@gmail.com>
+pkgname=libzen
+pkgver=0.4.31
+pkgrel=0
+pkgdesc="shared library for libmediainfo and mediainfo"
+url="http://mediainfo.sourceforge.net"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=""
+makedepends="$depends_dev libtool autoconf automake"
+install=""
+subpackages=""
+source="http://downloads.sourceforge.net/zenlib/${pkgname}_${pkgver}.tar.bz2"
+
+builddir="$srcdir"/ZenLib/Project/GNU/Library
+
+build() {
+ cd "$builddir"
+ ./autogen || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-shared \
+ --disable-static \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="a53c78a0e36586700c44a7f19dc88b51 libzen_0.4.31.tar.bz2"
+sha256sums="9fd0ed1861986c59d00e9674efc3afab487172c16e85384d7037b6608a5da4b4 libzen_0.4.31.tar.bz2"
+sha512sums="ab881b0bf6932c6198649898b03634cdb0c133b4b8cbbb29fd6273b858f7b548cac70a7866622b5b3b5d67f28f9cf4856c95a1cca98bbecdf44291c59fe79765 libzen_0.4.31.tar.bz2"