aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-18 14:58:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-18 14:58:03 +0000
commit67f9f603974981f0b804a6035fe1cfa01a8fb92b (patch)
treedc29bc26165959d897ce996a3d19b1eb7d3eb5c4 /main/asterisk
parent8a67c4cf2221390f49b76cb0944ab9f61269fcf5 (diff)
downloadaports-67f9f603974981f0b804a6035fe1cfa01a8fb92b.tar.bz2
aports-67f9f603974981f0b804a6035fe1cfa01a8fb92b.tar.xz
main/asterisk: add srtp, split out alsa, dahdi, speex
Diffstat (limited to 'main/asterisk')
-rw-r--r--main/asterisk/APKBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD
index 8bf5adaff5..2c51cf30ad 100644
--- a/main/asterisk/APKBUILD
+++ b/main/asterisk/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=asterisk
pkgver=11.5.0
-pkgrel=0
+pkgrel=1
pkgdesc="Asterisk: A Module Open Source PBX System"
pkgusers="asterisk"
pkggroups="asterisk"
@@ -14,12 +14,13 @@ 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 curl-dev
- libedit-dev"
+ libedit-dev libsrtp-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-curl:_curl"
+ $pkgname-mobile $pkgname-curl:_curl $pkgname-srtp $pkgname-dahdi
+ $pkgname-speex $pkgname-alsa"
_download="http://downloads.asterisk.org/pub/telephony/asterisk/releases"
_z=${pkgver##*.}
@@ -85,6 +86,7 @@ build() {
--with-bluetooth \
--with-curl \
--with-libedit \
+ --with-srtp \
|| return 1
# and figure out which modules to build
@@ -177,6 +179,10 @@ _curl() {
_find_and_move '*_curl*'
}
+srtp() { _find_and_move '*_srtp*'; }
+dahdi() { _find_and_move '*_dahdi*'; }
+speex() { _find_and_move '*_speex*'; }
+alsa() { _find_and_move '*_alsa*'; }
sample() {
arch="noarch"