# Contributor: Timo Teras # Maintainer: Timo Teras pkgname=libpri pkgver=1.4.11.4 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="db12da6a9365231e15669ee0f2f34cc9 libpri-1.4.11.4.tar.gz"