diff options
Diffstat (limited to 'main/libpri')
-rw-r--r-- | main/libpri/APKBUILD | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/main/libpri/APKBUILD b/main/libpri/APKBUILD index 4094083a5..231787c4f 100644 --- a/main/libpri/APKBUILD +++ b/main/libpri/APKBUILD @@ -1,9 +1,8 @@ # Contributor: Timo Teras <timo.teras@iki.fi> # Maintainer: Timo Teras <timo.teras@iki.fi> pkgname=libpri -pkgver=1.4.11_alpha1 -_pkgver=1.4.10.2 -pkgrel=1 +pkgver=1.4.11.2 +pkgrel=0 pkgdesc="Primary Rate ISDN (PRI) library" url="http://www.asterisk.orig" license="GPL" @@ -11,22 +10,22 @@ depends="" makedepends="" install= subpackages="$pkgname-dev" -source="http://downloads.digium.com/pub/telephony/libpri/releases/$pkgname-$_pkgver.tar.gz - libpri-1.4-r1357.patch" +source="http://downloads.digium.com/pub/telephony/libpri/releases/$pkgname-$pkgver.tar.gz" build() { - cd "$srcdir/$pkgname-$_pkgver" + cd "$srcdir/$pkgname-$pkgver" for i in ../*.patch; do + [ -r "$i" ] || continue msg "Applying $i" patch -p1 < $i || return 1; done make LDCONFIG="echo" || return 1 - make LDCONFIG="echo" INSTALL_PREFIX="$pkgdir" install +} - # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +package() { + cd "$srcdir/$pkgname-$pkgver" + make LDCONFIG="echo" INSTALL_PREFIX="$pkgdir" install } -md5sums="dc1523d8ee027cd62f20fc6cc9727489 libpri-1.4.10.2.tar.gz -61a245689a40e456643ed654441a280d libpri-1.4-r1357.patch" +md5sums="320d55151e180b2fc13abfee8e2e73d8 libpri-1.4.11.2.tar.gz" |