mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-05 21:52:08 +01:00
35 lines
906 B
Plaintext
35 lines
906 B
Plaintext
# Contributor: Timo Teräs <timo.teras@iki.fi>
|
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
|
|
pkgname=libdvdread
|
|
pkgver=6.0.0
|
|
pkgrel=0
|
|
pkgdesc="a simple foundation for reading DVD video disks"
|
|
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"
|
|
options="!check"
|
|
builddir="$srcdir"/libdvdread-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--disable-static \
|
|
--enable-shared \
|
|
--with-libdvdcss \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
sha512sums="b07179f2f665adf6ddd7bf8b7c48cd279f3f413c5719b8ca8467e53c7cd0cac02a40101f3717186dc0e4e69e5d9c7ac6bf98a76901412d74150b9fc7bfdd2479 libdvdread-6.0.0.tar.bz2"
|