summaryrefslogtreecommitdiff
path: root/user/libdvdnav
diff options
context:
space:
mode:
Diffstat (limited to 'user/libdvdnav')
-rw-r--r--user/libdvdnav/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libdvdnav/APKBUILD b/user/libdvdnav/APKBUILD
new file mode 100644
index 000000000..d8350045f
--- /dev/null
+++ b/user/libdvdnav/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer:
+pkgname=libdvdnav
+pkgver=6.0.0
+pkgrel=0
+pkgdesc="Library for sophisticated DVD navigation features"
+url="http://dvdnav.mplayerhq.hu/"
+arch="all"
+license="GPL-2.0+"
+depends=""
+depends_dev="libdvdread-dev>=5.0.3"
+makedepends="$depends_dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --disable-static \
+ --enable-shared
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="89d1e976d8f1cc92692e86e793403759b4d705682ba7418dcfd7dd3c38861238cead303fe4baa2059ebd7e9b82a77bbdbf32e50b20848e78939ee9e75d1b96d4 libdvdnav-6.0.0.tar.bz2"