diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-12-22 07:06:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-12-22 07:06:43 +0000 |
commit | a3d4f823d83538c21309339141bcee54e227ef3c (patch) | |
tree | 8538d6340bc24b4a14368d2a21ef236af38e5aab /main/kamailio/APKBUILD | |
parent | d83ce5d075cbbbcfadc2e6ab24283e6b6f25c069 (diff) | |
download | aports-a3d4f823d83538c21309339141bcee54e227ef3c.tar.bz2 aports-a3d4f823d83538c21309339141bcee54e227ef3c.tar.xz |
main/kamailio: fix script
fixes #226
Diffstat (limited to 'main/kamailio/APKBUILD')
-rw-r--r-- | main/kamailio/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD index 77916f000..16aabbd54 100644 --- a/main/kamailio/APKBUILD +++ b/main/kamailio/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=kamailio pkgver=1.5.3 -pkgrel=2 +pkgrel=3 pkgdesc="Open Source SIP Server" url="http://www.kamailio.org/" pkgusers="kamailio" @@ -19,10 +19,13 @@ source="http://www.kamailio.org/pub/kamailio/$pkgver/src/$pkgname-$pkgver-notls_ kamailio.initd kamailio.pre-install kamailio.post-install + kamailio-backslash.patch " prepare() { cd "$srcdir/$pkgname-$pkgver-notls" + patch -p1 -i "$srcdir"/kamailio-backslash.patch || return 1 + sed -i -e 's:^cfg-target.*:cfg-target = $(cfg-dir):' \ -e 's:^cfg-prefix.*:cfg-prefix = $(basedir):' Makefile.defs \ || return 1 @@ -129,4 +132,5 @@ md5sums="17eeea5cdc2fdd28b2f9a1bad6598de2 kamailio-1.5.3-notls_src.tar.gz eb665248ee39cf755a247286affc5cbb kamailio.cfg 81100c479890a2a8c2628db22fdd1a0c kamailio.initd c646af2dd31f5c4289a2f802c873d98f kamailio.pre-install -3fbaf633ff1620d0d526fc4047c7bed9 kamailio.post-install" +3fbaf633ff1620d0d526fc4047c7bed9 kamailio.post-install +b0ea6c22e2e40d5d12a547898aef6973 kamailio-backslash.patch" |