blob: 48a543ea14a7cb57e6d69c915824ab8696d1f125 (
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
48
49
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libdvbpsi
pkgver=1.1.1
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"
update_config_sub || return 1
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
rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="0c7c355201f325ea99c522d8ec97bf86 libdvbpsi-1.1.1.tar.bz2
0f238bf0adb647785f466927d9c37d3d fix-includes.patch"
sha256sums="4e06fa581d9b3693682428bc4f8bb8df97151c9e57baae72322057d260c3e6fd libdvbpsi-1.1.1.tar.bz2
0d0fdd1cf6e567558a1357d9e2e82124bfa273c3cd6c64fb70747660f52931fe fix-includes.patch"
sha512sums="d758b6e2181e991e450d5bbc8d9682535ec395c8db90704125b8ec6a3975d8f0239bf5d495454c9bb81e08e924ed3c18d408bbabee1da7e7ace9a3d0460feb32 libdvbpsi-1.1.1.tar.bz2
f612bf80b07ec37a83477a37d78971c4bd4331eec86686a8bc7b247f43df2c047c89de419d5cef0b960de2032daedc81a4c380802c76b4dc081e1c09ad364dcb fix-includes.patch"
|