diff options
-rw-r--r-- | main/asterisk/APKBUILD | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD index f1a41e948d..a31ac58c35 100644 --- a/main/asterisk/APKBUILD +++ b/main/asterisk/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Timo Teras <timo.teras@iki.fi> pkgname=asterisk pkgver=11.4.0 -pkgrel=0 +pkgrel=1 pkgdesc="Asterisk: A Module Open Source PBX System" pkgusers="asterisk" pkggroups="asterisk" @@ -13,12 +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 bluez-dev" + libresample sqlite-dev wget speex-dev libogg-dev bluez-dev curl-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-mobile" + $pkgname-mobile $pkgname-curl" _download="http://downloads.asterisk.org/pub/telephony/asterisk/releases" _z=${pkgver##*.} @@ -82,6 +82,7 @@ build() { --without-x11 \ --with-spandsp \ --with-bluetooth \ + --with-curl \ || return 1 # and figure out which modules to build @@ -168,6 +169,13 @@ mobile() { _find_and_move '*_mobile*' } +curl() { + depends= + install= + _find_and_move '*_curl*' +} + + sample() { arch="noarch" pkgdesc="Sample configuration files for asterisk" |