aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kamailio/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kamailio/APKBUILD')
-rw-r--r--testing/kamailio/APKBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/testing/kamailio/APKBUILD b/testing/kamailio/APKBUILD
index aee29ffc05..2f8007ee22 100644
--- a/testing/kamailio/APKBUILD
+++ b/testing/kamailio/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kamailio
pkgver=3.0.2
-pkgrel=0
+pkgrel=1
pkgdesc="Open Source SIP Server"
url="http://www.kamailio.org/"
pkgusers="kamailio"
@@ -51,8 +51,8 @@ prepare() {
build() {
cd "$_builddir"
- make prefix=/usr \
- cfg-dir=/etc/kamailio/ \
+ make LOCALBASE=/usr \
+ cfg_target=/etc/kamailio/ \
MODS_MYSQL=yes \
MODS_PCRE=yes \
MODS_PRESENCE=yes \
@@ -64,15 +64,17 @@ build() {
package() {
cd "$_builddir"
- make prefix=/usr \
- cfg-dir=/etc/kamailio/ \
+ make LOCALBASE=/usr \
+ cfg_target=/etc/kamailio/ \
MODS_MYSQL=yes \
MODS_PCRE=yes \
MODS_PRESENCE=yes \
MODS_RADIUS= \
TLS= \
include_modules="$_modules" \
- basedir="$pkgdir" install || return 1
+ basedir="$pkgdir" \
+ cfg_prefix="$pkgdir" \
+ install || return 1
# move default config to -doc package and use our own default config
@@ -145,7 +147,7 @@ unixodbc() {
}
md5sums="dd039e078a77032a423fb15f9685ad31 kamailio-3.0.2_src.tar.gz
-eb665248ee39cf755a247286affc5cbb kamailio.cfg
+865979ca14a727e99e0de5ca2426603f kamailio.cfg
81100c479890a2a8c2628db22fdd1a0c kamailio.initd
c646af2dd31f5c4289a2f802c873d98f kamailio.pre-install
3fbaf633ff1620d0d526fc4047c7bed9 kamailio.post-install