aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-02-05 12:23:00 +0000
committerTimo Teräs <timo.teras@iki.fi>2014-02-05 12:24:14 +0000
commit28e51a3afc4eca5015576b8e8692014ab2a18434 (patch)
treeb894e396973ed2bbcc6f7d1c87aa2e3bb320670f /main/asterisk/APKBUILD
parent5ee476a003f10ceb5e17dc612f6d040eb06a6a78 (diff)
downloadaports-28e51a3afc4eca5015576b8e8692014ab2a18434.tar.bz2
aports-28e51a3afc4eca5015576b8e8692014ab2a18434.tar.xz
main/asterisk: use menuselect and enable app_meetme
app_meetme used to be there, but as it's deprecated it is no longer built by default. add it back for the time being, but be prepared for it to be removed in Asterisk 12.
Diffstat (limited to 'main/asterisk/APKBUILD')
-rw-r--r--main/asterisk/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD
index 3be1179f61..e8fdb4332b 100644
--- a/main/asterisk/APKBUILD
+++ b/main/asterisk/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=asterisk
pkgver=11.7.0
-pkgrel=0
+pkgrel=1
pkgdesc="Asterisk: A Module Open Source PBX System"
pkgusers="asterisk"
pkggroups="asterisk"
@@ -104,11 +104,17 @@ build() {
--with-srtp \
|| return 1
- # and figure out which modules to build
+ # get default modules to build
rm menuselect.makeopts
make menuselect.makeopts
- # enable chan_mobile
- sed -i -e '/^MENUSELECT_ADDONS=/s/chan_mobile//' menuselect.makeopts
+
+ # and add the non-default modules we need
+ ./menuselect/menuselect \
+ --enable chan_mobile \
+ --enable app_meetme \
+ menuselect.makeopts
+
+ # build
make ASTCFLAGS="$CFLAGS" ASTLDFLAGS="$LDFLAGS" LDCONFIG_FLAGS="-n" || return 1
}