aboutsummaryrefslogtreecommitdiffstats
path: root/community/libzen/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-10-23 22:17:17 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-10-23 22:20:40 +0200
commitbb446cf225993a9318b961d5bb843dc5ead20a1f (patch)
tree08e73fe9b45115b5810cd4cb43e7674da656f698 /community/libzen/APKBUILD
parent4692ac1f7e11ea74331c7e9d85e04f5b7f0f6b70 (diff)
downloadaports-bb446cf225993a9318b961d5bb843dc5ead20a1f.tar.gz
aports-bb446cf225993a9318b961d5bb843dc5ead20a1f.tar.bz2
aports-bb446cf225993a9318b961d5bb843dc5ead20a1f.tar.xz
community/libzen: move from testing
Diffstat (limited to 'community/libzen/APKBUILD')
-rw-r--r--community/libzen/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/libzen/APKBUILD b/community/libzen/APKBUILD
new file mode 100644
index 0000000000..f5e7f4dfc2
--- /dev/null
+++ b/community/libzen/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Corey Oliver <corey.jon.oliver@gmail.com>
+pkgname=libzen
+pkgver=0.4.37
+pkgrel=3
+pkgdesc="A shared library for libmediainfo and mediainfo"
+url="https://github.com/MediaArea/ZenLib"
+arch="all"
+license="BSD"
+makedepends="cmake"
+subpackages="$pkgname-dev"
+source="https://mediaarea.net/download/source/$pkgname/$pkgver/${pkgname}_$pkgver.tar.bz2"
+builddir="$srcdir/ZenLib"
+options="!check" # upstream does not provide tests
+_cmakedir="$builddir/Project/CMake"
+
+build() {
+ cd "$_cmakedir"
+
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=/usr/lib \
+ -DCMAKE_VERBOSE_MAKEFILE=ON
+ make
+}
+
+package() {
+ cd "$_cmakedir"
+
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="3b5bec79470bec054cfa759e753e3925fbd9f27e508c692c0b100fcf1599696bff462d92c08799646e6ffc74c176e7cc7509ae0754c4710d527494f59d95d12b libzen_0.4.37.tar.bz2"