summaryrefslogtreecommitdiffstats
path: root/main/libdvbpsi/APKBUILD
blob: 6a1bfab0d68027fe6ea3ead4b87d0c7f9e08d1cb (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
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libdvbpsi
pkgver=0.2.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"

_builddir="$srcdir/$pkgname-$pkgver"
build() {
	cd "$_builddir"
	./configure --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="b80f3fb7fd58d35276cc4c4a84b6ac03  libdvbpsi-0.2.0.tar.bz2"