diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-01 11:53:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-01 11:53:37 +0000 |
commit | 9392b2ffd96634ff39bedb5867505083f6d8c877 (patch) | |
tree | c3b5299b0fdbeaff8f5aec93c74124e6cecbc84d /extra | |
parent | 28654204afa733da0fde04282089fc6014741ad6 (diff) | |
download | aports-9392b2ffd96634ff39bedb5867505083f6d8c877.tar.bz2 aports-9392b2ffd96634ff39bedb5867505083f6d8c877.tar.xz |
extra/asterisk: add subpackages asterisk-tds
Diffstat (limited to 'extra')
-rw-r--r-- | extra/asterisk/APKBUILD | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/extra/asterisk/APKBUILD b/extra/asterisk/APKBUILD index f495c00a..650183c7 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 |