summaryrefslogtreecommitdiff
path: root/user/libdvbpsi/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libdvbpsi/APKBUILD')
-rw-r--r--user/libdvbpsi/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libdvbpsi/APKBUILD b/user/libdvbpsi/APKBUILD
new file mode 100644
index 000000000..9f818977d
--- /dev/null
+++ b/user/libdvbpsi/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer:
+pkgname=libdvbpsi
+pkgver=1.3.2
+pkgrel=0
+pkgdesc="Library decoding and generating MPEG TS and DVB PSI tables"
+url="https://www.videolan.org/developers/libdvbpsi.html"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev"
+source="https://download.videolan.org/pub/libdvbpsi/$pkgver/$pkgname-$pkgver.tar.bz2
+ fix-includes.patch
+ "
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --enable-release
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="cb59c2e66a214cad7bb96aa1f80a178399fcd80da9fc05b22c72763f2cd818bfab3724d36eee4c6467fb8bc8bae18b1d8afec64c02e8e47cd7a6e887f0230309 libdvbpsi-1.3.2.tar.bz2
+f612bf80b07ec37a83477a37d78971c4bd4331eec86686a8bc7b247f43df2c047c89de419d5cef0b960de2032daedc81a4c380802c76b4dc081e1c09ad364dcb fix-includes.patch"