blob: 397a8752519c7149f7ef601b44ca6bdb90fcddba (
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
42
43
44
45
46
47
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libdvbpsi
pkgver=1.3.0
pkgrel=0
pkgdesc="A library decoding and generating MPEG TS and DVB PSI tables"
url="http://www.videolan.org/developers/libdvbpsi.html"
arch="all"
license="GPL"
depends=
makedepends=""
subpackages="$pkgname-dev"
source="http://download.videolan.org/pub/libdvbpsi/$pkgver/$pkgname-$pkgver.tar.bz2
fix-includes.patch
"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--enable-release \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="2b217039a1299000c39423441f77e76a libdvbpsi-1.3.0.tar.bz2
0f238bf0adb647785f466927d9c37d3d fix-includes.patch"
sha256sums="a2fed1d11980662f919bbd1f29e2462719e0f6227e1a531310bd5a706db0a1fe libdvbpsi-1.3.0.tar.bz2
0d0fdd1cf6e567558a1357d9e2e82124bfa273c3cd6c64fb70747660f52931fe fix-includes.patch"
sha512sums="59f097a1032e8cf461210128c7468da4204f077a61f68f2be3310e60004774157335cd7cba82271fcc89b7b6b17a12a06b6214357227ec9976281d9b50565c54 libdvbpsi-1.3.0.tar.bz2
f612bf80b07ec37a83477a37d78971c4bd4331eec86686a8bc7b247f43df2c047c89de419d5cef0b960de2032daedc81a4c380802c76b4dc081e1c09ad364dcb fix-includes.patch"
|