diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-02-01 18:07:00 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-02-01 18:08:21 +0000 |
commit | 4e221923f25dcdf93bf5cfe717af313e7d83f7c0 (patch) | |
tree | d96d5136c476e2e3a4a85b677d882f190965d013 /main/libpri | |
parent | a480d71ef44cd22fc59e83aa19649bd854ce751d (diff) | |
download | aports-4e221923f25dcdf93bf5cfe717af313e7d83f7c0.tar.bz2 aports-4e221923f25dcdf93bf5cfe717af313e7d83f7c0.tar.xz |
main/libpri: upgrade to 1.6.0
Diffstat (limited to 'main/libpri')
-rw-r--r-- | main/libpri/APKBUILD | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/main/libpri/APKBUILD b/main/libpri/APKBUILD index afb595d784..c7db968960 100644 --- a/main/libpri/APKBUILD +++ b/main/libpri/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Timo Teras <timo.teras@iki.fi> # Maintainer: Timo Teras <timo.teras@iki.fi> pkgname=libpri -pkgver=1.5.0 +pkgver=1.6.0 _pkgver=$pkgver pkgrel=0 pkgdesc="Primary Rate ISDN (PRI) library" @@ -14,30 +14,25 @@ install= subpackages="$pkgname-dev" source="http://downloads.digium.com/pub/telephony/libpri/releases/$pkgname-$_pkgver.tar.gz" -_builddir="$srcdir/$pkgname-$_pkgver" +builddir="$srcdir/$pkgname-$_pkgver" prepare() { - cd "$_builddir" + cd "$builddir" + default_prepare || return 1 sed -i -e 's,^#include <sys/signal.h>$,#include <signal.h>,g' \ pritest.c testprilib.c } build() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg "$i"; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - + cd "$builddir" make LDCONFIG="echo" || return 1 } package() { - cd "$_builddir" + cd "$builddir" make LDCONFIG="echo" INSTALL_PREFIX="$pkgdir" install } -md5sums="d32bf834861d3b0d24f26b0ffb52e971 libpri-1.5.0.tar.gz" -sha256sums="ee224bc4aa65c54546bd09675c3f0b71817ce9e277332bce86989d8dcd556a24 libpri-1.5.0.tar.gz" -sha512sums="194e4b525e77a28665525e43a2d105d542fab242d3d21951574668bf4d14d90adeb4e0b18384eca1628d75a16d89c8b1e6577e30542d77dd5dfd3d6f4d60ed3a libpri-1.5.0.tar.gz" +md5sums="299beef98fc6e8274bcfa2720db13c6e libpri-1.6.0.tar.gz" +sha256sums="7225ea7ec334a115f9dc08e71f55589c38cb4e00b13964cd2f08cc4e6123e3f6 libpri-1.6.0.tar.gz" +sha512sums="3eb876477cdd27c88f274e4a2e35a67f660b8d8eed140e56c40769982a58f1cdd4e5be352f8f220dc100eedf1ad09286c578430a52d9abe326440c8cbf517fa5 libpri-1.6.0.tar.gz" |