diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-10-10 08:07:14 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-10-10 08:07:14 +0300 |
commit | d51f137bc4b9492099848a668a021a956fa3af48 (patch) | |
tree | 4e809206dc71699b7afe2734eea31b11c834b1d5 /main/libpri | |
parent | 50560be6cb4aad941101e52fae4bbaf5b41759f6 (diff) | |
download | aports-d51f137bc4b9492099848a668a021a956fa3af48.tar.bz2 aports-d51f137bc4b9492099848a668a021a956fa3af48.tar.xz |
main/libpri: upgrade to 1.4.13
Diffstat (limited to 'main/libpri')
-rw-r--r-- | main/libpri/APKBUILD | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/main/libpri/APKBUILD b/main/libpri/APKBUILD index 2815d1b93..9e489c9e1 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.4.12 +pkgver=1.4.13 _pkgver=$pkgver pkgrel=0 pkgdesc="Primary Rate ISDN (PRI) library" @@ -14,20 +14,22 @@ install= subpackages="$pkgname-dev" source="http://downloads.digium.com/pub/telephony/libpri/releases/$pkgname-$_pkgver.tar.gz" +_builddir="$srcdir/$pkgname-$_pkgver" + build() { - cd "$srcdir/$pkgname-$_pkgver" - for i in ../*.patch; do - [ -r "$i" ] || continue - msg "Applying $i" - patch -p1 < $i || return 1; + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg "$i"; patch -p1 -i "$srcdir"/$i || return 1;; + esac done make LDCONFIG="echo" || return 1 } package() { - cd "$srcdir/$pkgname-$_pkgver" + cd "$_builddir" make LDCONFIG="echo" INSTALL_PREFIX="$pkgdir" install } -md5sums="9de39b866f049cc20a4f431cc6245166 libpri-1.4.12.tar.gz" +md5sums="275ce1d772f7efd28075e479411bbdeb libpri-1.4.13.tar.gz" |