1 # Maintainer: Tanguy Bouzéloc <the.zauron@gmail.com>
6 pkgdesc="an industrial-strength SIP VoIP server"
7 url="http://www.kamailio.org/"
8 source=(http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}_src.tar.gz)
9 makedepends=('flex' 'bison' 'docbook2x' 'mysql' 'postgresql' 'libxml2'
11 optdepends=('mysql: mysql support'
12 'expat: xmpp/jabber support'
13 'libxml2: cpl and presence modules support'
14 'radiusclient-ng: radius support'
15 'postgresql: postgresql backend')
17 arch=('x86_64' 'i686')
19 md5sums=('f0bf80cfae676c086f827b499eaf21cd')
22 cd $srcdir/$pkgname-$pkgver
23 sed -i "s/docbook2x-man/docbook2man/" Makefile.modules Makefile.utils
25 make CC_EXTRA_OPTS="$CFLAGS" prefix=/usr cfg_prefix=/ \
26 group_include="standard standard-dep stable experimental" \
27 exclude_modules="iptrtpproxy osp dbtext oracle" all || return 1
29 make -j1 $MODULES prefix=$pkgdir/usr cfg_prefix=$pkgdir \
30 group_include="standard standard-dep stable experimental" \
31 exclude_modules="iptrtpproxy osp dbtext oracle" install || return 1