aboutsummaryrefslogtreecommitdiffstats
path: root/main/kamailio/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-08-24 13:30:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-08-24 13:30:39 +0000
commitdbf41463486771f239ff2b8c16603ca1dd7cd0cf (patch)
tree1bea2c565c2806db126ab423634db141a594fd56 /main/kamailio/APKBUILD
parent874a278f5de53ff3f92416da7a3a24831c351029 (diff)
downloadaports-dbf41463486771f239ff2b8c16603ca1dd7cd0cf.tar.bz2
aports-dbf41463486771f239ff2b8c16603ca1dd7cd0cf.tar.xz
main/kamailio: added initial sqlite support
Diffstat (limited to 'main/kamailio/APKBUILD')
-rw-r--r--main/kamailio/APKBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD
index 220f7ad8f4..90d044eada 100644
--- a/main/kamailio/APKBUILD
+++ b/main/kamailio/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kamailio
pkgver=3.0.3
-pkgrel=0
+pkgrel=1
pkgdesc="Open Source SIP Server"
url="http://www.kamailio.org/"
pkgusers="kamailio"
@@ -10,7 +10,7 @@ pkggroups="kamailio"
license="GPL"
depends=
makedepends="bison flex expat-dev postgresql-dev pcre-dev mysql-dev
- libxml2-dev curl-dev unixodbc-dev confuse-dev ncurses-dev"
+ libxml2-dev curl-dev unixodbc-dev confuse-dev ncurses-dev sqlite-dev"
install="$pkgname.pre-install $pkgname.pre-upgrade"
subpackages="$pkgname-doc $pkgname-postgres $pkgname-presence $pkgname-pcre
$pkgname-mediaproxy $pkgname-unixodbc $pkgname-mysql"
@@ -18,6 +18,7 @@ source="http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}_src.
kamailio.cfg
kamailio.initd
kamailio-3-backslash.patch
+ sqlite.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -36,7 +37,14 @@ _modules="$_default $_postgres $_mediaproxy $_odbc $_presence $_mysql $_pcre"
prepare() {
cd "$_builddir"
- patch -p1 -i "$srcdir"/kamailio-3-backslash.patch || return 1
+ for i in $source; do
+ case $i in
+ *.patch)
+ msg "Apllying $i"
+ patch -p1 -i "$srcdir"/$i || return 1
+ ;;
+ esac
+ done
sed -i \
-e "s:-O9 -funroll-loops:$CFLAGS:g" \
@@ -159,4 +167,5 @@ unixodbc() {
md5sums="eac755ba385d9ed68388abbf74b2b1c1 kamailio-3.0.3_src.tar.gz
a3c959ec568c43a905710e7d25cd8c25 kamailio.cfg
81100c479890a2a8c2628db22fdd1a0c kamailio.initd
-36f81be3a082a81497e261ac8e6c5414 kamailio-3-backslash.patch"
+36f81be3a082a81497e261ac8e6c5414 kamailio-3-backslash.patch
+ed43b0d8d60b1e87199ce18ba326ccee sqlite.patch"