Commit 09b207e0 authored by Natanael Copa's avatar Natanael Copa
Browse files

testing/opensips: fix install locations

parent 4cd1a77b
......@@ -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"
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