diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-04-04 10:50:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-04-04 10:50:26 +0000 |
commit | 67eb88bc5458c93a481c692baa0968cf567fc3f2 (patch) | |
tree | f2991f36da321ec3691b83101d027e7764339a34 /main | |
parent | b9458750cc49aec6e5c6b53630ed15d307ec8f76 (diff) | |
parent | 62797d9ac0a740f1e9ecf2e229115295a99564ad (diff) | |
download | aports-67eb88bc5458c93a481c692baa0968cf567fc3f2.tar.bz2 aports-67eb88bc5458c93a481c692baa0968cf567fc3f2.tar.xz |
Merge remote branch 'clandmeter/master'
Diffstat (limited to 'main')
-rw-r--r-- | main/asterisk/APKBUILD | 13 | ||||
-rw-r--r-- | main/spandsp/APKBUILD | 31 |
2 files changed, 41 insertions, 3 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD index 22b9668eef..51180cc5e1 100644 --- a/main/asterisk/APKBUILD +++ b/main/asterisk/APKBUILD @@ -2,17 +2,17 @@ # Maintainer: Timo Teras <timo.teras@iki.fi> pkgname=asterisk pkgver=1.6.2.6 -pkgrel=0 +pkgrel=1 pkgdesc="Asterisk: A Module Open Source PBX System" url="http://www.asterisk.org/" 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" diff --git a/main/spandsp/APKBUILD b/main/spandsp/APKBUILD new file mode 100644 index 0000000000..87c855a40b --- /dev/null +++ b/main/spandsp/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Carlo Landmeter +# Maintainer: +pkgname=spandsp +pkgver=0.0.6_pre17 +pkgrel=0 +pkgdesc="SpanDSP is a library of DSP functions for telephony" +url="http://www.soft-switch.org/installing-spandsp.html" +license="GPL" +depends= +makedepends=tiff-dev +install= +subpackages="$pkgname-dev" +source="http://www.soft-switch.org/downloads/spandsp/$pkgname-0.0.6pre17.tgz" + +_builddir="$srcdir"/$pkgname-0.0.6 + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make -j1 DESTDIR="$pkgdir" install +} + +md5sums="cc860f77270cf3b881f8ccd42d2d0238 spandsp-0.0.6pre17.tgz" |