diff options
Diffstat (limited to 'main/libpri/APKBUILD')
-rw-r--r-- | main/libpri/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/main/libpri/APKBUILD b/main/libpri/APKBUILD new file mode 100644 index 00000000..d4d90a81 --- /dev/null +++ b/main/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" |