summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/libaacs/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libaacs/APKBUILD b/user/libaacs/APKBUILD
new file mode 100644
index 000000000..6278e5c9f
--- /dev/null
+++ b/user/libaacs/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libaacs
+pkgver=0.9.0
+pkgrel=0
+pkgdesc="Library to decrypt Advanced Access Content System content"
+url="https://www.videolan.org/developers/libaacs.html"
+arch="all"
+license="LGPL-2.1+"
+makedepends="bison flex libgcrypt-dev libgpg-error-dev"
+subpackages="$pkgname-dev"
+source="https://download.videolan.org/pub/videolan/libaacs/$pkgver/libaacs-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="b9c658db22a0966486070d3b762509a7c0120469ab29d1e57c1b624cad309701de8b92455ec649db4d731be4a5c29c38fb4f99bb7617dbb4254270284a1903f6 libaacs-0.9.0.tar.bz2"