From 9392b2ffd96634ff39bedb5867505083f6d8c877 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 1 May 2009 11:53:37 +0000 Subject: extra/asterisk: add subpackages asterisk-tds --- extra/asterisk/APKBUILD | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'extra/asterisk') diff --git a/extra/asterisk/APKBUILD b/extra/asterisk/APKBUILD index f495c00af..650183c7a 100644 --- a/extra/asterisk/APKBUILD +++ b/extra/asterisk/APKBUILD @@ -3,15 +3,17 @@ pkgname=asterisk pkgver=1.6.2.0_beta1 _myver=1.6.2.0-beta1 -pkgrel=3 +pkgrel=4 pkgdesc="Asterisk: A Module Open Source PBX System" url="http://www.asterisk.org/" license="GPL" -depends="ncurses popt zlib newt dahdi-linux dahdi-tools libltdl libpri" +depends="ncurses popt zlib newt dahdi-linux dahdi-tools libltdl libpri freetds" makedepends="autoconf automake libtool ncurses-dev popt-dev newt-dev zlib-dev - postgresql-dev unixodbc-dev dahdi-tools-dev libpri-dev g++ tar" + postgresql-dev unixodbc-dev dahdi-tools-dev libpri-dev g++ tar + freetds-dev" install="$pkgname.pre-install $pkgname.post-install" -subpackages="$pkgname-dev $pkgname-doc $pkgname-pgsql $pkgname-odbc" +subpackages="$pkgname-dev $pkgname-doc $pkgname-pgsql $pkgname-odbc + $pkgname-tds" source="http://downloads.digium.com/pub/asterisk/releases/$pkgname-$_myver.tar.gz asterisk-01-1.6.0-gsm-pic.patch asterisk-02-1.6.0-uclibc.patch @@ -44,7 +46,7 @@ build() { --localstatedir=/var \ --disable-xmldoc --with-gsm=internal \ --without-iconv --with-popt --with-z --with-newt \ - --with-odbc --with-postgres \ + --with-odbc --with-postgres --with-tds \ --with-dahdi --with-pri --with-tonezone \ || return 1 @@ -80,6 +82,11 @@ odbc() { _find_and_move '*odbc*' } +tds() { + depends="uclibc asterisk freetds" + install= + _find_and_move '*_tds*' +} md5sums="1a44f295fc9e72d19da7f42d095e6c60 asterisk-1.6.2.0-beta1.tar.gz 97b39fd9777a2521d4f9f095482b7ac2 asterisk-01-1.6.0-gsm-pic.patch -- cgit v1.2.3