blob: faaeb6e89a7d8ac37449a34129dd0ced6ce0fb20 (
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
35
36
37
38
39
40
41
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=libdvdcss
pkgver=1.4.1
pkgrel=0
pkgdesc="Library for accessing DVDs like a block device without having to bother about the decryption"
url="http://www.videolan.org/developers/libdvdcss.html"
arch="all"
makedepends="file linux-headers"
license="GPL"
subpackages="$pkgname-dev $pkgname-doc"
source="http://download.videolan.org/pub/libdvdcss/$pkgver/libdvdcss-$pkgver.tar.bz2
replace-error.patch
"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$builddir"
default_prepare
}
build() {
cd "$builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
check() {
cd "$builddir"
make check
}
sha512sums="4456ebcf8b53a8aaee97643261a14a05c929e9e9120cbe5fc6839ddf62be3dcfe7313fca3ee57c00bea43ddf623dc3d61fff7c2f6316338495df95c9c422f39e libdvdcss-1.4.1.tar.bz2
6aa9510b662d39527935f90fc500d27a8ff6bfc45a967ee3b3affcb0637a3d9ce9acb0967e88c65711a74eeb2061c63b14c542ec47b1dded29a5729f7e659f8e replace-error.patch"
|