summaryrefslogtreecommitdiffstats
path: root/main/libpri/APKBUILD
blob: 4094083a582640494888622926ff36dbaa345cde (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
32
# Contributor: Timo Teras <timo.teras@iki.fi>
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=libpri
pkgver=1.4.11_alpha1
_pkgver=1.4.10.2
pkgrel=1
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"