# Contributor: Timo Teras # Maintainer: Timo Teras pkgname=libpri pkgver=1.4.11_alpha1 _pkgver=1.4.10.2 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 libpri-1.4-r1357.patch" build() { cd "$srcdir/$pkgname-$_pkgver" for i in ../*.patch; do 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 } md5sums="dc1523d8ee027cd62f20fc6cc9727489 libpri-1.4.10.2.tar.gz 61a245689a40e456643ed654441a280d libpri-1.4-r1357.patch"