aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}