aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opensips
diff options
context:
space:
mode:
Diffstat (limited to 'testing/opensips')
-rw-r--r--testing/opensips/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/opensips/APKBUILD b/testing/opensips/APKBUILD
index 96b4e55730..e104485266 100644
--- a/testing/opensips/APKBUILD
+++ b/testing/opensips/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=opensips
pkgver=1.5.0
-pkgrel=0
+pkgrel=1
pkgdesc="Flexible and customizable sip routing engine"
url="http://www.opensips.org/"
license="GPL"
@@ -14,11 +14,11 @@ source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-notls_src.tar
build() {
cd "$srcdir/$pkgname-$pkgver-notls"
- local mkvars="prefix=/usr cfg-target=/etc/opensips"
+ sed -i -e 's:^cfg-target.*:cfg-target = $(cfg-dir):' \
+ -e 's:^cfg-prefix.*:cfg-prefix = $(basedir):' Makefile.defs
- make $mkvars || return 1
-# make $mkvars all || return 1
- make $mkvars basedir="$pkgdir" install
+ make prefix=/usr || return 1
+ make prefix=/usr basedir="$pkgdir" install
}
md5sums="ba99592a6e42e8b4dc2d38964420dfec opensips-1.5.0-notls_src.tar.gz"