aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-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"