APKBUILD 910 Bytes
Newer Older
Timo Teräs's avatar
Timo Teräs committed
1 2 3
# Contributor: Timo Teras <timo.teras@iki.fi>
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=libpri
4 5 6
pkgver=1.4.11_alpha1
_pkgver=1.4.10.2
pkgrel=0
Timo Teräs's avatar
Timo Teräs committed
7 8 9 10 11 12 13
pkgdesc="Primary Rate ISDN (PRI) library"
url="http://www.asterisk.orig"
license="GPL"
depends=""
makedepends=""
install=
subpackages="$pkgname-dev"
14 15
source="http://downloads.digium.com/pub/telephony/libpri/releases/$pkgname-$_pkgver.tar.gz
	libpri-1.4-r1357.patch"
Timo Teräs's avatar
Timo Teräs committed
16 17

build() {
18
	cd "$srcdir/$pkgname-$_pkgver"
Timo Teräs's avatar
Timo Teräs committed
19 20 21 22 23 24 25 26 27 28 29 30
	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
}

31 32
md5sums="dc1523d8ee027cd62f20fc6cc9727489  libpri-1.4.10.2.tar.gz
61a245689a40e456643ed654441a280d  libpri-1.4-r1357.patch"