aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdvbpsi/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-01-30 09:14:53 +0200
committerTimo Teräs <timo.teras@iki.fi>2011-01-30 09:15:25 +0200
commit6a908b24ca35c697ed6419b1df323a72e8685d79 (patch)
tree81134102af831b71e1f746a2db1445c7b027f259 /main/libdvbpsi/APKBUILD
parenta5ee8dc46291e76ea435f7659d3da5143f6bd365 (diff)
downloadaports-6a908b24ca35c697ed6419b1df323a72e8685d79.tar.bz2
aports-6a908b24ca35c697ed6419b1df323a72e8685d79.tar.xz
main/libdvbpsi: new aport
Diffstat (limited to 'main/libdvbpsi/APKBUILD')
-rw-r--r--main/libdvbpsi/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/libdvbpsi/APKBUILD b/main/libdvbpsi/APKBUILD
new file mode 100644
index 0000000000..aa6b69bd4a
--- /dev/null
+++ b/main/libdvbpsi/APKBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=libdvbpsi
+pkgver=0.1.7
+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
+}
+md5sums="af419575719e356b908b0c6946499052 libdvbpsi-0.1.7.tar.bz2"