summaryrefslogtreecommitdiffstats
path: root/extra/libpri/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-16 13:09:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-16 13:09:07 +0000
commit20e9c3adfae6d00c91296d7dd670f592c667bacd (patch)
tree2e1c8b8917fb61349d38a811216676b6681b78e8 /extra/libpri/APKBUILD
parenta19bdc166f30a1f83b7777bff0722d18b0e2ff4b (diff)
downloadaports-20e9c3adfae6d00c91296d7dd670f592c667bacd.tar.bz2
aports-20e9c3adfae6d00c91296d7dd670f592c667bacd.tar.xz
extra/asterisk,libpri,dahdi-*: moved from testing
Diffstat (limited to 'extra/libpri/APKBUILD')
-rw-r--r--extra/libpri/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/libpri/APKBUILD b/extra/libpri/APKBUILD
new file mode 100644
index 000000000..d4d90a810
--- /dev/null
+++ b/extra/libpri/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Timo Teras <timo.teras@iki.fi>
+# Maintainer: Timo Teras <timo.teras@iki.fi>
+pkgname=libpri
+pkgver=1.4.9
+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-cflags.patch
+ libpri-1.4.9-i14292.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="97332edeaa2de0320d85fda88afb96f9 libpri-1.4.9.tar.gz
+8df2ca48ce7db4f1a8604b0904bc9394 libpri-cflags.patch
+240e4057980c88f2c2576c5c25744c70 libpri-1.4.9-i14292.patch"