blob: b89ed1a3f3428a8c5ea36f3cbe6d3a73a6a4345a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer (Arch): Xavier Devlamynck <magicrhesus@ouranos.be>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=kamailio
pkgver=4.3.4
pkgrel=1
pkgdesc="Rock solid SIP server"
url="http://www.kamailio.org/"
license=('GPL2')
arch=('i686' 'x86_64')
depends=()
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'
'postgresql: postgresql backend')
arch=('x86_64' 'i686')
source=(http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}_src.tar.gz)
sha256sums=('bba3e811bd137995e10f4d740ddd97dfb6b5ff4ecf340df055ea52b6f1b42488')
provides=()
conflicts=()
replaces=()
backup=('etc/kamailio/kamctlrc' 'etc/kamailio/kamailio.cfg' 'etc/kamailio/kamailio-basic.cfg' 'etc/kamailio/kamailio-advanced.cfg')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make proper
sed -i 's/bin_dir = sbin\//bin_dir = bin\//g' Makefile.defs
make prefix=${pkgdir}/usr cfg_prefix=${pkgdir} LIBDIR=lib config
make all
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make install
}
|