diff options
Diffstat (limited to 'main/freeswitch/APKBUILD')
-rw-r--r-- | main/freeswitch/APKBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD index b3a3d85e69..9de191b6ec 100644 --- a/main/freeswitch/APKBUILD +++ b/main/freeswitch/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=freeswitch pkgver=1.0.7 -pkgrel=1 +pkgrel=2 pkgdesc="A communications platform written in C from the ground up" url="http://www.freeswitch.org" arch="all" @@ -13,6 +13,7 @@ makedepends="curl-dev unixodbc-dev zlib-dev openssl-dev ncurses-dev install="$pkgname.pre-install $pkgname.post-install $pkgname.pre-upgrade" subpackages="$pkgname-dev $pkgname-flite $pkgname-sample-config:conf" source="http://latest.freeswitch.org/freeswitch-$pkgver.tar.gz + freeswitch-mod_shout-textrels.patch modules.conf freeswitch.confd freeswitch.initd @@ -22,6 +23,11 @@ _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done sed -i 's,freetdm.h,../src/include/freetdm.h,' libs/freetdm/mod_freetdm/mod_freetdm.c } @@ -105,6 +111,7 @@ conf() { } md5sums="0a685b4cdd2466da28695fc09b8fc11e freeswitch-1.0.7.tar.gz +11883affe0839a8e15fe680aeb11b86e freeswitch-mod_shout-textrels.patch a3383f46dc62ec1fa00eab584d7ee472 modules.conf c608cca8ad773acebf201f581438c7e7 freeswitch.confd aa358c9ca0d8b93fabb6a36a5ed4c469 freeswitch.initd" |