aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unstable/kamailio/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/unstable/kamailio/APKBUILD b/unstable/kamailio/APKBUILD
new file mode 100644
index 0000000000..d4b566e1af
--- /dev/null
+++ b/unstable/kamailio/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+pkgname=kamailio
+pkgver=1.5.1
+pkgrel=0
+pkgdesc="Open Source SIP Server"
+url="http://www.kamailio.org/"
+license="GPL"
+depends="uclibc expat postgresql"
+makedepends="bison flex coreutils expat-dev libpq"
+install=
+subpackages="$pkgname-doc"
+source="http://www.kamailio.org/pub/kamailio/1.5.1/src/$pkgname-$pkgver-notls_src.tar.gz"
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver-notls"
+
+ make prefix=/usr || return 1
+ make prefix=/usr basedir="$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="5dd6f66b155d9dde08ee0311439acc10 kamailio-1.5.1-notls_src.tar.gz"