diff options
Diffstat (limited to 'pcr/kamailio/PKGBUILD')
-rw-r--r-- | pcr/kamailio/PKGBUILD | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/pcr/kamailio/PKGBUILD b/pcr/kamailio/PKGBUILD index 741616dc3..89729d252 100644 --- a/pcr/kamailio/PKGBUILD +++ b/pcr/kamailio/PKGBUILD @@ -1,36 +1,38 @@ # Maintainer (Arch): Xavier Devlamynck <magicrhesus@ouranos.be> +# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe> pkgname=kamailio -pkgver=4.0.1 +pkgver=4.2.3 pkgrel=1 pkgdesc="Rock solid SIP server" url="http://www.kamailio.org/" license=('GPL2') -arch=('i686' 'x86_64' 'mips64el') +arch=('i686' 'x86_64') +depends=() makedepends=('flex' 'bison' 'docbook2x' 'mariadb' 'postgresql' 'libxml2' 'radiusclient-ng' 'lua51' 'mono' 'hiredis' 'libpurple' 'net-snmp' - 'libunistring' 'python2') + 'libunistring' 'python2') optdepends=('mariadb: mysql support' 'expat: xmpp/jabber support' - 'libxml2: cpl and presence modules support' - 'radiusclient-ng: radius support' - 'postgresql: postgresql backend') + '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=('dd8652f47a572c0b0e1e45bdd0f6f838a14e50f2dbbeed77726ec0c7076e1769') +sha256sums=('7dbbca4a515778d3e903380adcc49f727ddc4853238cb905e14c811a5671ed80') +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 cfg prefix=/usr cfg_prefix=/ bin_dir=/usr/bin - make PYTHON="python2" all + 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 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 + cd "${srcdir}/${pkgname}-${pkgver}" + make install } |