summaryrefslogtreecommitdiffstats
path: root/main/asterisk
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-04-03 15:54:42 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2010-04-03 15:54:42 +0000
commitac7107a2b2edf5ad9372e475a077499526548006 (patch)
tree7afbd041ace9b6cfbc0f890bedbb8a86a3f7a010 /main/asterisk
parent8b2f0b9278b357dc2a8afb177241a3fa30e41f64 (diff)
downloadaports-ac7107a2b2edf5ad9372e475a077499526548006.tar.bz2
aports-ac7107a2b2edf5ad9372e475a077499526548006.tar.xz
main/asterisk: added fax support
Diffstat (limited to 'main/asterisk')
-rw-r--r--main/asterisk/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD
index 22b9668ee..4a8f82550 100644
--- a/main/asterisk/APKBUILD
+++ b/main/asterisk/APKBUILD
@@ -9,10 +9,10 @@ license="GPL"
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"
+ freetds-dev openssl-dev lua-dev alsa-lib-dev spandsp-dev tiff-dev"
install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-install"
subpackages="$pkgname-dev $pkgname-doc $pkgname-pgsql $pkgname-odbc
- $pkgname-tds $pkgname-sample-config:sample"
+ $pkgname-tds $pkgname-fax $pkgname-sample-config:sample"
source="http://downloads.digium.com/pub/asterisk/releases/$pkgname-$pkgver.tar.gz
100-uclibc-daemon.patch
101-caps-uclibc.patch
@@ -51,6 +51,7 @@ build() {
--with-dahdi --with-pri --with-tonezone \
--with-asound \
--without-x11 \
+ --with-spandsp \
|| return 1
# and figure out which modules to build
@@ -98,6 +99,12 @@ tds() {
_find_and_move '*_tds*'
}
+fax() {
+ depends=
+ install=
+ _find_and_move '*_fax*'
+}
+
sample() {
pkgdesc="Sample configuration files for asterisk"
cd "$_builddir"