blob: 1cd0fded766ceb33879a4511e7dea6a2b037c377 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libdvdread
pkgver=5.0.3
pkgrel=1
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="http://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="1ca438f0b5c406549eec62e1abef1e8745b9f932bcd30a3194ee9e37995b269ec8f1652a24cc3d2cb11ddb964e4a47a06e5405f9402e616586ff6263a1af3fc2 libdvdread-5.0.3.tar.bz2"
|