diff options
author | Jeff Bilyk <jbilyk@gmail.com> | 2011-01-21 23:34:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-04 15:20:50 +0000 |
commit | 2ca5f1cfd1a464ac1ad500661b507aa619ce1d74 (patch) | |
tree | 45cb7d675922cb78e47f9d09f829fe528861a7b5 | |
parent | de1836ca3a4a663efed3190f7b445e44f5748248 (diff) | |
download | alpine_aports-2ca5f1cfd1a464ac1ad500661b507aa619ce1d74.tar.bz2 alpine_aports-2ca5f1cfd1a464ac1ad500661b507aa619ce1d74.tar.xz alpine_aports-2ca5f1cfd1a464ac1ad500661b507aa619ce1d74.zip |
main/freeswitch: add support for freetdm and libpri
ref # 514
(cherry picked from commit ad7f39fa0464538e97c3b1e5acf3e61c8fb9f623)
-rw-r--r-- | main/freeswitch/APKBUILD | 11 | ||||
-rw-r--r-- | main/freeswitch/modules.conf | 1 |
2 files changed, 9 insertions, 3 deletions
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD index a9f3c3e638..9e3658c860 100644 --- a/main/freeswitch/APKBUILD +++ b/main/freeswitch/APKBUILD | |||
@@ -2,13 +2,13 @@ | |||
2 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 2 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
3 | pkgname=freeswitch | 3 | pkgname=freeswitch |
4 | pkgver=1.0.6 | 4 | pkgver=1.0.6 |
5 | pkgrel=14 | 5 | pkgrel=15 |
6 | pkgdesc="A communications platform written in C from the ground up" | 6 | pkgdesc="A communications platform written in C from the ground up" |
7 | url="http://www.freeswitch.org" | 7 | url="http://www.freeswitch.org" |
8 | license="GPL" | 8 | license="GPL" |
9 | depends="" | 9 | depends="" |
10 | makedepends="curl-dev unixodbc-dev zlib-dev openssl-dev ncurses-dev | 10 | makedepends="curl-dev unixodbc-dev zlib-dev openssl-dev ncurses-dev |
11 | autoconf automake libtool" | 11 | autoconf automake libtool libpri bash" |
12 | install="$pkgname.pre-install $pkgname.post-install $pkgname.pre-upgrade" | 12 | install="$pkgname.pre-install $pkgname.post-install $pkgname.pre-upgrade" |
13 | subpackages="$pkgname-dev $pkgname-flite $pkgname-sample-config:conf" | 13 | subpackages="$pkgname-dev $pkgname-flite $pkgname-sample-config:conf" |
14 | source="http://files.freeswitch.org/freeswitch-$pkgver.tar.gz | 14 | source="http://files.freeswitch.org/freeswitch-$pkgver.tar.gz |
@@ -19,6 +19,11 @@ source="http://files.freeswitch.org/freeswitch-$pkgver.tar.gz | |||
19 | 19 | ||
20 | _builddir="$srcdir/$pkgname-$pkgver" | 20 | _builddir="$srcdir/$pkgname-$pkgver" |
21 | 21 | ||
22 | prepare() { | ||
23 | cd "$_builddir" | ||
24 | sed -i 's,freetdm.h,../src/include/freetdm.h,' libs/freetdm/mod_freetdm/mod_freetdm.c | ||
25 | } | ||
26 | |||
22 | build() { | 27 | build() { |
23 | cd "$_builddir" | 28 | cd "$_builddir" |
24 | cp -f "$srcdir/modules.conf" modules.conf || return 1 | 29 | cp -f "$srcdir/modules.conf" modules.conf || return 1 |
@@ -96,6 +101,6 @@ conf() { | |||
96 | } | 101 | } |
97 | 102 | ||
98 | md5sums="388effee587887a81fe7f411b7350590 freeswitch-1.0.6.tar.gz | 103 | md5sums="388effee587887a81fe7f411b7350590 freeswitch-1.0.6.tar.gz |
99 | 1f9ed1daf9a1fb910571857c27b933ad modules.conf | 104 | 1986cb9499d787b28c8655dd73ebe013 modules.conf |
100 | c608cca8ad773acebf201f581438c7e7 freeswitch.confd | 105 | c608cca8ad773acebf201f581438c7e7 freeswitch.confd |
101 | aa358c9ca0d8b93fabb6a36a5ed4c469 freeswitch.initd" | 106 | aa358c9ca0d8b93fabb6a36a5ed4c469 freeswitch.initd" |
diff --git a/main/freeswitch/modules.conf b/main/freeswitch/modules.conf index ca3fd9723f..396f018200 100644 --- a/main/freeswitch/modules.conf +++ b/main/freeswitch/modules.conf | |||
@@ -44,6 +44,7 @@ endpoints/mod_loopback | |||
44 | #endpoints/mod_alsa | 44 | #endpoints/mod_alsa |
45 | #endpoints/mod_opal | 45 | #endpoints/mod_opal |
46 | #../../libs/openzap/mod_openzap | 46 | #../../libs/openzap/mod_openzap |
47 | ../../libs/freetdm/mod_freetdm | ||
47 | #event_handlers/mod_event_multicast | 48 | #event_handlers/mod_event_multicast |
48 | event_handlers/mod_event_socket | 49 | event_handlers/mod_event_socket |
49 | event_handlers/mod_cdr_csv | 50 | event_handlers/mod_cdr_csv |