diff options
author | Nathan Angelacos <nangel@alpinelinux.org> | 2013-06-19 17:14:38 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-06-20 09:33:45 +0300 |
commit | 0fee53e3ed89b99a758187a8a27c9c8f60ab067e (patch) | |
tree | 35bc2922d068c42a362818d202e9fbd601669b97 | |
parent | 9933f1bb13efb39050942b5847b7939a69549d28 (diff) | |
download | aports-0fee53e3ed89b99a758187a8a27c9c8f60ab067e.tar.bz2 aports-0fee53e3ed89b99a758187a8a27c9c8f60ab067e.tar.xz |
main/asterisk: create package with curl based modules
[Timo: Fixed few cosmetic issues]
-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 f1a41e948..a31ac58c3 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" |