diff options
Diffstat (limited to 'user/libdvdcss')
-rw-r--r-- | user/libdvdcss/APKBUILD | 33 |
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" |