Subject: [alpine-devel] [PATCH] main/freeswitch: add support for freetdm and libpri

From: Jeff Bilyk <[email-masked]>
Date: Fri, 21 Jan 2011 23:34:32 +0000

ref # 514
---
 main/freeswitch/APKBUILD     |   11 ++++++++---
 main/freeswitch/modules.conf |    1 +
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD
index 9730a89..868ff7c 100644
--- a/main/freeswitch/APKBUILD
+++ b/main/freeswitch/APKBUILD
@@ -2,14 +2,14 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=freeswitch
 pkgver=1.0.6
-pkgrel=14
+pkgrel=15
 pkgdesc="A communications platform written in C from the ground up"
 url="http://www.freeswitch.org"
 arch="all"
 license="GPL"
 depends=""
 makedepends="curl-dev unixodbc-dev zlib-dev openssl-dev ncurses-dev
-	autoconf automake libtool"
+	autoconf automake libtool libpri bash"
 install="$pkgname.pre-install $pkgname.post-install $pkgname.pre-upgrade"
 subpackages="$pkgname-dev $pkgname-flite $pkgname-sample-config:conf"
 source="http://files.freeswitch.org/freeswitch-$pkgver.tar.gz
@@ -20,6 +20,11 @@ source="http://files.freeswitch.org/freeswitch-$pkgver.tar.gz
 
 _builddir="$srcdir/$pkgname-$pkgver"
 
+prepare() {
+	cd "$_builddir"
+	sed -i 's,freetdm.h,../src/include/freetdm.h,' libs/freetdm/mod_freetdm/mod_freetdm.c
+}
+
 build() {
 	     cd "$_builddir"
 	cp -f "$srcdir/modules.conf" modules.conf || return 1
@@ -97,6 +102,6 @@ conf() {
 }
 
 md5sums="388effee587887a81fe7f411b7350590  freeswitch-1.0.6.tar.gz
-1f9ed1daf9a1fb910571857c27b933ad  modules.conf
+1986cb9499d787b28c8655dd73ebe013  modules.conf
 c608cca8ad773acebf201f581438c7e7  freeswitch.confd
 aa358c9ca0d8b93fabb6a36a5ed4c469  freeswitch.initd"
diff --git a/main/freeswitch/modules.conf b/main/freeswitch/modules.conf
index ca3fd97..396f018 100644
--- a/main/freeswitch/modules.conf
+++ b/main/freeswitch/modules.conf
@@ -44,6 +44,7 @@ endpoints/mod_loopback
 #endpoints/mod_alsa
 #endpoints/mod_opal
 #../../libs/openzap/mod_openzap
+../../libs/freetdm/mod_freetdm
 #event_handlers/mod_event_multicast
 event_handlers/mod_event_socket
 event_handlers/mod_cdr_csv
-- 
1.7.3.5

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---