# Contributor: Timo Teras # Maintainer: Timo Teras pkgname=libpri pkgver=1.4.11.3 pkgrel=0 pkgdesc="Primary Rate ISDN (PRI) library" url="http://www.asterisk.orig" license="GPL" depends="" makedepends="" install= subpackages="$pkgname-dev" source="http://downloads.digium.com/pub/telephony/libpri/releases/$pkgname-$pkgver.tar.gz" build() { 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 } package() { cd "$srcdir/$pkgname-$pkgver" make LDCONFIG="echo" INSTALL_PREFIX="$pkgdir" install } md5sums="f3ad31bc623b8335c65b8e85d46117b4 libpri-1.4.11.3.tar.gz"