updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / kamailio / PKGBUILD
blob0cad3507ff5ac7c4f61d78fbc79cb40eef9ed64c
1 # Maintainer: Tanguy BouzĂ©loc <the.zauron@gmail.com>
3 pkgname=kamailio
4 pkgver=3.1.1
5 pkgrel=1
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'
10              'radiusclient-ng')
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')
18 license=('GPL2')
19 md5sums=('f0bf80cfae676c086f827b499eaf21cd')
21 build() {
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
28         
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