aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpri/APKBUILD
blob: 231787c4f6e48502300d428fd1c971f96420f1c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Timo Teras <timo.teras@iki.fi>
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=libpri
pkgver=1.4.11.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"

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="320d55151e180b2fc13abfee8e2e73d8  libpri-1.4.11.2.tar.gz"