diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-12 09:51:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-12 09:51:02 +0000 |
commit | 09b207e0f11e4e8c0bbb6ecf40a12d747d8579f3 (patch) | |
tree | e153914b89903dae642c20b998951f1dd1397cf7 /testing/opensips | |
parent | 4cd1a77b3441f7439e3d30830a0022df63dc0cb8 (diff) | |
download | aports-09b207e0f11e4e8c0bbb6ecf40a12d747d8579f3.tar.bz2 aports-09b207e0f11e4e8c0bbb6ecf40a12d747d8579f3.tar.xz |
testing/opensips: fix install locations
Diffstat (limited to 'testing/opensips')
-rw-r--r-- | testing/opensips/APKBUILD | 10 |
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" |