summaryrefslogtreecommitdiff
path: root/repo/libdvdcss/libdvdcss.xibuild
blob: b5d7ca4b1c1be65ad62f24dc01b050ebffe9603f (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
#!/bin/sh

NAME="libdvdcss"
DESC="Library for accessing DVDs like a block device without having to bother about the decryption"

MAKEDEPS="file linux-headers"

PKG_VER=1.4.3
SOURCE="https://download.videolan.org/pub/libdvdcss/$PKG_VER/libdvdcss-$PKG_VER.tar.bz2"

ADDITIONAL="
replace-error.patch
"

prepare() {
    apply_patches
}

build() {
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

check() {
	make check
}


package() {
	make DESTDIR="$PKG_DEST" install
}