diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-06 15:13:10 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-06 15:13:10 +0000 |
commit | 28f5ebf2fb5a6e97186c4d7435e1ba16fb928a14 (patch) | |
tree | 036ecd927c660587d647a79b16e35563b6971e7e /testing/kamailio | |
parent | 37a97cda850a8ac1738db7887cefb15d4cc39cc5 (diff) | |
download | aports-28f5ebf2fb5a6e97186c4d7435e1ba16fb928a14.tar.bz2 aports-28f5ebf2fb5a6e97186c4d7435e1ba16fb928a14.tar.xz |
testing/kamailio: add mysql and pcre support
Diffstat (limited to 'testing/kamailio')
-rw-r--r-- | testing/kamailio/APKBUILD | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/testing/kamailio/APKBUILD b/testing/kamailio/APKBUILD index db7af6dac5..ba63dfe0dc 100644 --- a/testing/kamailio/APKBUILD +++ b/testing/kamailio/APKBUILD @@ -2,18 +2,18 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=kamailio pkgver=3.0.2 -pkgrel=3 +pkgrel=4 pkgdesc="Open Source SIP Server" url="http://www.kamailio.org/" pkgusers="kamailio" pkggroups="kamailio" license="GPL" depends= -makedepends="bison flex expat-dev postgresql-dev pcre-dev +makedepends="bison flex expat-dev postgresql-dev pcre-dev mysql-dev libxml2-dev curl-dev unixodbc-dev confuse-dev" install= -subpackages="$pkgname-doc $pkgname-postgres $pkgname-presence - $pkgname-mediaproxy $pkgname-unixodbc" +subpackages="$pkgname-doc $pkgname-postgres $pkgname-presence $pkgname-pcre + $pkgname-mediaproxy $pkgname-unixodbc $pkgname-mysql" source="http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}_src.tar.gz kamailio.cfg kamailio.initd @@ -23,10 +23,17 @@ source="http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}_src. " _builddir="$srcdir"/$pkgname-$pkgver -# Makefile does not handle newline -_presence="presence presence_xml presence_mwi pua pua_bla pua_mi pua_usrloc pua_xmpp rls xcap_client presence_dialoginfo pua_dialoginfo" -_modules="db_postgres mediaproxy db_unixodbc carrierroute xmlrpc tm $_presence" + +_default="carrierroute xmlrpc tm" +_presence="presence presence_xml presence_mwi pua pua_bla pua_mi pua_usrloc pua_xmpp rls xcap_client presence_dialoginfo pua_dialoginfo" +_pcre="dialplan lcr regex" +_postgres="db_postgres" +_mysql="db_mysql" +_mediaproxy="mediaproxy" +_odbc="db_unixodbc" +# Makefile does not handle newline +_modules="$_default $_postgres $_mediaproxy $_odbc $_presence $_mysql $_pcre" prepare() { @@ -56,7 +63,7 @@ prepare() { build() { cd "$_builddir" - make LOCALBASE=/usr \ + make LOCALBASE=/usr \ cfg_target=/etc/kamailio/ \ MODS_MYSQL=yes \ MODS_PCRE=yes \ @@ -127,7 +134,8 @@ postgres() { pcre() { pkgdesc="Regular expressions support for kamailio" - _mv_mod dialplan lcr regex + _mv_mod dialplan lcr + _mv_mod_k regex } presence() { @@ -138,13 +146,13 @@ presence() { mediaproxy() { pkgdesc="Mediaproxy support for kamailio" depends="kamailio" - _mv_mod mediaproxy + _mv_mod $_mediaproxy } unixodbc() { pkgdesc="UnixODBC support for kamailio" depends="kamailio" - _mv_mod_k db_unixodbc + _mv_mod_k $_odbc } md5sums="dd039e078a77032a423fb15f9685ad31 kamailio-3.0.2_src.tar.gz |