diff options
-rw-r--r-- | main/asterisk/APKBUILD | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD index 9df345eccc..bebc30f7c8 100644 --- a/main/asterisk/APKBUILD +++ b/main/asterisk/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Timo Teras <timo.teras@iki.fi> pkgname=asterisk pkgver=10.4.1 -pkgrel=0 +pkgrel=1 pkgdesc="Asterisk: A Module Open Source PBX System" pkgusers="asterisk" pkggroups="asterisk" @@ -13,11 +13,12 @@ depends= makedepends="autoconf automake libtool ncurses-dev popt-dev newt-dev zlib-dev postgresql-dev unixodbc-dev dahdi-tools-dev libpri-dev tar freetds-dev openssl-dev lua-dev alsa-lib-dev spandsp-dev tiff-dev - libresample sqlite-dev wget speex-dev libogg-dev" + libresample sqlite-dev wget speex-dev libogg-dev bluez-dev" install="$pkgname.pre-install $pkgname.pre-upgrade" subpackages="$pkgname-dev $pkgname-doc $pkgname-pgsql $pkgname-odbc $pkgname-tds $pkgname-fax $pkgname-sample-config:sample - $pkgname-sounds-moh:sound_moh $pkgname-sounds-en:sound_en" + $pkgname-sounds-moh:sound_moh $pkgname-sounds-en:sound_en + $pkgname-mobile" source="http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-${pkgver/_/-}.tar.gz 100-uclibc-daemon.patch 101-caps-uclibc.patch @@ -64,11 +65,14 @@ build() { --with-asound \ --without-x11 \ --with-spandsp \ + --with-bluetooth \ || return 1 # and figure out which modules to build rm menuselect.makeopts make menuselect.makeopts + # enable chan_mobile + sed -i -e '/^MENUSELECT_ADDONS=/s/chan_mobile//' menuselect.makeopts make ASTCFLAGS="$CFLAGS" ASTLDFLAGS="$LDFLAGS" || return 1 } @@ -142,6 +146,12 @@ fax() { _find_and_move '*_fax*' } +mobile() { + depends= + install= + _find_and_move '*_mobile*' +} + sample() { arch="noarch" pkgdesc="Sample configuration files for asterisk" |