aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeswitch/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-03-23 15:19:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-03-23 15:19:03 +0000
commit601269c1a43a8f3859713bb1564a7e28c5f5dc0d (patch)
tree787a25371f5228b910488f52d642c5787469920c /main/freeswitch/APKBUILD
parent24d358ca68c93df35fdd45992658f6d9402c43a5 (diff)
downloadaports-601269c1a43a8f3859713bb1564a7e28c5f5dc0d.tar.bz2
aports-601269c1a43a8f3859713bb1564a7e28c5f5dc0d.tar.xz
main/freeswitch: update to 1.0.7_p20110323
Diffstat (limited to 'main/freeswitch/APKBUILD')
-rw-r--r--main/freeswitch/APKBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD
index 9de191b6ec..dc5b9f3378 100644
--- a/main/freeswitch/APKBUILD
+++ b/main/freeswitch/APKBUILD
@@ -1,8 +1,10 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=freeswitch
-pkgver=1.0.7
-pkgrel=2
+pkgver=1.0.7_p20110323
+_ver=${pkgver%_p*}
+_snapshot=${pkgver#*_p}
+pkgrel=0
pkgdesc="A communications platform written in C from the ground up"
url="http://www.freeswitch.org"
arch="all"
@@ -12,14 +14,14 @@ makedepends="curl-dev unixodbc-dev zlib-dev openssl-dev ncurses-dev
autoconf automake libtool libpri-dev bash"
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
+source="saveas-http://latest.freeswitch.org/freeswitch-$_ver.tar.gz/freeswitch-$pkgver.tar.gz
freeswitch-mod_shout-textrels.patch
modules.conf
freeswitch.confd
freeswitch.initd
"
-_builddir="$srcdir/$pkgname-$pkgver"
+_builddir="$srcdir/$pkgname-$_ver"
prepare() {
cd "$_builddir"
@@ -32,7 +34,7 @@ prepare() {
}
build() {
- cd "$_builddir"
+ cd "$_builddir"
# i think our max cmd len is 32768
# by specifying it here we save our selves from some CPU cycles
@@ -62,7 +64,7 @@ build() {
make -j1 all || return 1
}
package(){
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
# we need to do some moving/cleanup to allow some... kind of FHS
mkdir -p "$pkgdir"/var/run/freeswitch
@@ -110,7 +112,7 @@ conf() {
mkdir -p "$pkgdir"/etc/freeswitch/scripts
}
-md5sums="0a685b4cdd2466da28695fc09b8fc11e freeswitch-1.0.7.tar.gz
+md5sums="ecca23d810c8ec1853c87c7fdc603bc5 freeswitch-1.0.7_p20110323.tar.gz
11883affe0839a8e15fe680aeb11b86e freeswitch-mod_shout-textrels.patch
a3383f46dc62ec1fa00eab584d7ee472 modules.conf
c608cca8ad773acebf201f581438c7e7 freeswitch.confd