diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-08-05 16:04:05 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-08-20 05:30:36 +0000 |
commit | 68ff8ec58f4bd766f608b1a545f87dd0d6a2b512 (patch) | |
tree | 6bc98504b0d050182cf8262c62919bbbd6d5faed | |
parent | 5b8cbbddc7e9ca7dfbe76a7c99bc5f809e292774 (diff) | |
download | aports-68ff8ec58f4bd766f608b1a545f87dd0d6a2b512.tar.bz2 aports-68ff8ec58f4bd766f608b1a545f87dd0d6a2b512.tar.xz |
main/asterisk: enable mp3 and cdr_mysql
(cherry picked from commit 1a0d51e3d4cc0308e014a7ed6287f55d27512b86)
-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 749c72f87..bf0f390ce 100644 --- a/main/asterisk/APKBUILD +++ b/main/asterisk/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Timo Teras <timo.teras@iki.fi> pkgname=asterisk pkgver=12.4.0 -pkgrel=5 +pkgrel=6 pkgdesc="Asterisk: A Module Open Source PBX System" pkgusers="asterisk" pkggroups="asterisk" @@ -14,13 +14,13 @@ makedepends="autoconf automake libtool tar wget ncurses-dev popt-dev newt-dev zlib-dev pjproject-dev jansson-dev libedit-dev dahdi-tools-dev libpri-dev sqlite-dev postgresql-dev unixodbc-dev freetds-dev openssl-dev lua-dev alsa-lib-dev spandsp-dev tiff-dev libresample speex-dev libogg-dev - bluez-dev curl-dev libsrtp-dev util-linux-dev" + bluez-dev curl-dev libsrtp-dev util-linux-dev mysql-dev subversion" install="$pkgname.pre-install $pkgname.pre-upgrade" subpackages="$pkgname-dbg $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-srtp $pkgname-dahdi - $pkgname-speex $pkgname-alsa" + $pkgname-speex $pkgname-alsa $pkgname-cdr-mysql:cdr_mysql" _download="http://downloads.asterisk.org/pub/telephony/asterisk/releases" _z=${pkgver##*.} @@ -65,6 +65,9 @@ prepare() { esac done + # enable mp3 support + /bin/sh contrib/scripts/get_mp3_source.sh || return 1 + # asteriskssl does not have direct references to libssl, but looks up # symbols from it using dlsym(RTLD_NEXT), so use --no-as-needed for it. sed -i -e 's/ASTSSL_LIBS:=$(OPENSSL_LIB)/ASTSSL_LIBS:=-Wl,--no-as-needed $(OPENSSL_LIB) -Wl,--as-needed/g' main/Makefile @@ -120,6 +123,7 @@ build() { ./menuselect/menuselect \ --enable chan_mobile \ --enable app_meetme \ + --enable cdr_mysql \ menuselect.makeopts # build @@ -208,6 +212,12 @@ _curl() { _find_and_move '*_curl*' } +cdr_mysql() { + depends= + install= + _find_and_move '*cdr_mysql*' +} + srtp() { _find_and_move '*_srtp*'; } dahdi() { _find_and_move '*_dahdi*'; } speex() { _find_and_move '*_speex*'; } |