Commit 4b20d0b0 authored by Natanael Copa's avatar Natanael Copa

testing/kamailio: fix location for kamailio.cfg

fixes #248
parent c164e429
......@@ -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
......
......@@ -14,7 +14,7 @@ children = 4
dns = no
rev_dns = no
mpath = "/usr/lib/kamailio/modules/"
mpath = "/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/"
#--------------------------------------------------------
# Section 2: Modules
#--------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment