summaryrefslogtreecommitdiff
path: root/pcr/kamailio/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-03 20:26:13 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-03 20:26:13 -0300
commitc4dfd2dd26c974e2c0757c3a1ad71b2fc4d72c86 (patch)
tree3b2b224247d684045bcaca547b10eee20599ee94 /pcr/kamailio/PKGBUILD
parentaddf0caba72d862bf5b9f7f02cb2c1663c6ae7c5 (diff)
parentfd0908ce8b8a8956442327e7c7e2b2433ec84efb (diff)
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/kamailio/PKGBUILD')
-rw-r--r--pcr/kamailio/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/pcr/kamailio/PKGBUILD b/pcr/kamailio/PKGBUILD
new file mode 100644
index 000000000..3e040a495
--- /dev/null
+++ b/pcr/kamailio/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Xavier Devlamynck <magicrhesus@ouranos.be>
+
+pkgname=kamailio
+pkgver=4.0.1
+pkgrel=1
+pkgdesc="Rock solid SIP server"
+url="http://www.kamailio.org/"
+license=('GPL2')
+arch=('i686' 'x86_64')
+makedepends=('flex' 'bison' 'docbook2x' 'mariadb' 'postgresql' 'libxml2'
+ 'radiusclient-ng' 'lua51' 'mono' 'hiredis' 'libpurple' 'net-snmp'
+ 'libunistring' 'python2')
+optdepends=('mariadb: mysql support'
+ 'expat: xmpp/jabber support'
+ 'libxml2: cpl and presence modules support'
+ 'radiusclient-ng: radius support'
+ 'postgresql: postgresql backend')
+source=(http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}_src.tar.gz)
+sha256sums=('dd8652f47a572c0b0e1e45bdd0f6f838a14e50f2dbbeed77726ec0c7076e1769')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make cfg prefix=/usr cfg_prefix=/ bin_dir=/usr/bin
+ make PYTHON="python2" all
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make prefix=${pkgdir}/usr \
+ PYTHON="python2" \
+ cfg_prefix=${pkgdir} \
+ bind_dir=${pkgdir}/usr/bin \
+ bingroup_include="standard standard-dep stable experimental" \
+ skip_modules="iptrtpproxy osp dbtext oracle" \
+ install
+}