diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/kamailio/APKBUILD | 35 |
1 files changed, 11 insertions, 24 deletions
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD index d8c7a7c6f..f0ef91f06 100644 --- a/main/kamailio/APKBUILD +++ b/main/kamailio/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=kamailio -pkgver=3.0.4 +pkgver=3.1.0 pkgrel=0 pkgdesc="Open Source SIP Server" url="http://www.kamailio.org/" @@ -14,10 +14,10 @@ makedepends="bison flex expat-dev postgresql-dev pcre-dev mysql-dev install="$pkgname.pre-install $pkgname.pre-upgrade" 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 +source="http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio_${pkgver}.tar.gz kamailio.cfg kamailio.initd - kamailio-3-backslash.patch + kamailio-3.1-backslash.patch sqlite.patch " @@ -69,31 +69,18 @@ prepare() { build() { cd "$_builddir" - - make -j1 LOCALBASE=/usr \ + make FLAVOUR=kamailio \ + PREFIX=/usr \ cfg_target=/etc/kamailio/ \ - MODS_MYSQL=yes \ - MODS_PCRE=yes \ - MODS_RADIUS= \ - TLS= \ include_modules="$_modules" \ - basedir="$pkgdir" \ - cfg_prefix="$pkgdir" \ - all || return 1 + DESTDIR="$pkgdir" \ + cfg + make || reeturn } package() { cd "$_builddir" - make -j1 LOCALBASE=/usr \ - cfg_target=/etc/kamailio/ \ - MODS_MYSQL=yes \ - MODS_PCRE=yes \ - MODS_RADIUS= \ - TLS= \ - include_modules="$_modules" \ - basedir="$pkgdir" \ - cfg_prefix="$pkgdir" \ - install || return 1 + make -j1 install || return 1 # move default config to -doc package and use our own default config @@ -164,8 +151,8 @@ unixodbc() { _mv_mod_k $_odbc } -md5sums="7151eb026081d0dcca98c99c7ebdffcd kamailio-3.0.4_src.tar.gz +md5sums="53bb8a867846b530f224697d4737642e kamailio_3.1.0.tar.gz a3c959ec568c43a905710e7d25cd8c25 kamailio.cfg 81100c479890a2a8c2628db22fdd1a0c kamailio.initd -36f81be3a082a81497e261ac8e6c5414 kamailio-3-backslash.patch +3cb2eaeed81e4cdb1830f06a88de19e7 kamailio-3.1-backslash.patch ed43b0d8d60b1e87199ce18ba326ccee sqlite.patch" |