summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 02:58:44 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-21 02:58:44 -0500
commit845a5a2257288c17dbdcf59e3f0ce0d1b0ad9b59 (patch)
treec89d76729232e34ede32acf591f215d487a3b7e8 /user
parent1f2cc9ebe28e0a6418d243aa551c6e0cb544e79c (diff)
downloadpackages-845a5a2257288c17dbdcf59e3f0ce0d1b0ad9b59.tar.gz
packages-845a5a2257288c17dbdcf59e3f0ce0d1b0ad9b59.tar.bz2
packages-845a5a2257288c17dbdcf59e3f0ce0d1b0ad9b59.tar.xz
packages-845a5a2257288c17dbdcf59e3f0ce0d1b0ad9b59.zip
user/libdvdcss: pull in, fix up, modernise, bump to 1.4.2
Diffstat (limited to 'user')
-rw-r--r--user/libdvdcss/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/libdvdcss/APKBUILD b/user/libdvdcss/APKBUILD
new file mode 100644
index 000000000..25e46df5e
--- /dev/null
+++ b/user/libdvdcss/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer:
+pkgname=libdvdcss
+pkgver=1.4.2
+pkgrel=0
+pkgdesc="Library for accessing encrypted DVDs like a block device"
+url="https://www.videolan.org/developers/libdvdcss.html"
+arch="all"
+makedepends="file linux-headers"
+license="GPL-2.0+"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.videolan.org/pub/libdvdcss/$pkgver/libdvdcss-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e46ccded1951046ec481604c5b533c435be14cd0e734cd5315b61868836a20edf4cdc7c1466c2f4ed374de4382c5e758ace700e84aadcb29513001d696f1049c libdvdcss-1.4.2.tar.bz2"