diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/libdvdread/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/libdvdread/APKBUILD b/user/libdvdread/APKBUILD new file mode 100644 index 000000000..c8fd76b4c --- /dev/null +++ b/user/libdvdread/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: +pkgname=libdvdread +pkgver=6.0.0 +pkgrel=0 +pkgdesc="Library for reading DVD video discs" +url="http://dvdnav.mplayerhq.hu/" +arch="all" +license="GPL" +makedepends="libdvdcss-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 \ + --with-libdvdcss + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="b07179f2f665adf6ddd7bf8b7c48cd279f3f413c5719b8ca8467e53c7cd0cac02a40101f3717186dc0e4e69e5d9c7ac6bf98a76901412d74150b9fc7bfdd2479 libdvdread-6.0.0.tar.bz2" |