aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdvbpsi/APKBUILD
blob: 4ffb07f4c6662fb927543081c35d569cc474cf5f (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
# 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"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}
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"
sha256sums="4e06fa581d9b3693682428bc4f8bb8df97151c9e57baae72322057d260c3e6fd  libdvbpsi-1.1.1.tar.bz2"
sha512sums="d758b6e2181e991e450d5bbc8d9682535ec395c8db90704125b8ec6a3975d8f0239bf5d495454c9bb81e08e924ed3c18d408bbabee1da7e7ace9a3d0460feb32  libdvbpsi-1.1.1.tar.bz2"