aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libzen
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-10-06 15:00:49 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-10-06 15:00:49 +0200
commitab556c276f3fb2efdd55b2daad1982ee95bae080 (patch)
tree9dae4d851fada9a52705bc1dea99523988cd1d95 /testing/libzen
parent395aa88ab45ba950e67bf840310ef9e59e552f9c (diff)
downloadaports-ab556c276f3fb2efdd55b2daad1982ee95bae080.tar.bz2
aports-ab556c276f3fb2efdd55b2daad1982ee95bae080.tar.xz
testing/libzen: new aport
Diffstat (limited to 'testing/libzen')
-rw-r--r--testing/libzen/APKBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/testing/libzen/APKBUILD b/testing/libzen/APKBUILD
new file mode 100644
index 0000000000..0ca3ea6e9e
--- /dev/null
+++ b/testing/libzen/APKBUILD
@@ -0,0 +1,52 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+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
+
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./autogen || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || 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"