aboutsummaryrefslogtreecommitdiffstats
path: root/main/libdvbpsi
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-11-20 10:29:57 +0200
committerTimo Teräs <timo.teras@iki.fi>2017-11-20 10:29:57 +0200
commit9fa7f345ca1508f3e910f6bc79477343441d1391 (patch)
tree5230907ad41169b72b557a22610e1aec82c90914 /main/libdvbpsi
parent2be4b482495cd1930d57ce7d1a023cd2fe97fe6f (diff)
downloadaports-9fa7f345ca1508f3e910f6bc79477343441d1391.tar.bz2
aports-9fa7f345ca1508f3e910f6bc79477343441d1391.tar.xz
main/libdvbpsi: upgrade to 1.3.1, modernize
Diffstat (limited to 'main/libdvbpsi')
-rw-r--r--main/libdvbpsi/APKBUILD30
1 files changed, 8 insertions, 22 deletions
diff --git a/main/libdvbpsi/APKBUILD b/main/libdvbpsi/APKBUILD
index 397a875251..e64d26b7b2 100644
--- a/main/libdvbpsi/APKBUILD
+++ b/main/libdvbpsi/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libdvbpsi
-pkgver=1.3.0
+pkgver=1.3.1
pkgrel=0
pkgdesc="A library decoding and generating MPEG TS and DVB PSI tables"
url="http://www.videolan.org/developers/libdvbpsi.html"
@@ -13,35 +13,21 @@ source="http://download.videolan.org/pub/libdvbpsi/$pkgver/$pkgname-$pkgver.tar.
fix-includes.patch
"
-_builddir="$srcdir/$pkgname-$pkgver"
-
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --enable-release \
- || return 1
- make || return 1
+ --enable-release
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="2b217039a1299000c39423441f77e76a libdvbpsi-1.3.0.tar.bz2
-0f238bf0adb647785f466927d9c37d3d fix-includes.patch"
-sha256sums="a2fed1d11980662f919bbd1f29e2462719e0f6227e1a531310bd5a706db0a1fe libdvbpsi-1.3.0.tar.bz2
-0d0fdd1cf6e567558a1357d9e2e82124bfa273c3cd6c64fb70747660f52931fe fix-includes.patch"
-sha512sums="59f097a1032e8cf461210128c7468da4204f077a61f68f2be3310e60004774157335cd7cba82271fcc89b7b6b17a12a06b6214357227ec9976281d9b50565c54 libdvbpsi-1.3.0.tar.bz2
+sha512sums="015d586d1ef1fd35fc4b6a5b79d1ce4570e07070840d7070938c38be64853fb987172ad225f000156166559709061de6f901237bfc0f7f26f219b5950b57c27a libdvbpsi-1.3.1.tar.bz2
f612bf80b07ec37a83477a37d78971c4bd4331eec86686a8bc7b247f43df2c047c89de419d5cef0b960de2032daedc81a4c380802c76b4dc081e1c09ad364dcb fix-includes.patch"