aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/asterisk/APKBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD
index 77b699adfb..a8c5d110a0 100644
--- a/main/asterisk/APKBUILD
+++ b/main/asterisk/APKBUILD
@@ -1,7 +1,7 @@
1# Contributor: Timo Teras <timo.teras@iki.fi> 1# Contributor: Timo Teras <timo.teras@iki.fi>
2# Maintainer: Timo Teras <timo.teras@iki.fi> 2# Maintainer: Timo Teras <timo.teras@iki.fi>
3pkgname=asterisk 3pkgname=asterisk
4pkgver=1.6.2.8 4pkgver=1.6.2.9
5pkgrel=0 5pkgrel=0
6pkgdesc="Asterisk: A Module Open Source PBX System" 6pkgdesc="Asterisk: A Module Open Source PBX System"
7url="http://www.asterisk.org/" 7url="http://www.asterisk.org/"
@@ -9,10 +9,11 @@ license="GPL"
9depends= 9depends=
10makedepends="autoconf automake libtool ncurses-dev popt-dev newt-dev zlib-dev 10makedepends="autoconf automake libtool ncurses-dev popt-dev newt-dev zlib-dev
11 postgresql-dev unixodbc-dev dahdi-tools-dev libpri-dev tar 11 postgresql-dev unixodbc-dev dahdi-tools-dev libpri-dev tar
12 freetds-dev openssl-dev lua-dev alsa-lib-dev spandsp-dev tiff-dev" 12 freetds-dev openssl-dev lua-dev alsa-lib-dev spandsp-dev tiff-dev
13 libresample sqlite-dev"
13install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-install" 14install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-install"
14subpackages="$pkgname-dev $pkgname-doc $pkgname-pgsql $pkgname-odbc 15subpackages="$pkgname-dev $pkgname-doc $pkgname-pgsql $pkgname-odbc
15 $pkgname-tds $pkgname-fax $pkgname-sample-config:sample" 16 $pkgname-tds $pkgname-fax $pkgname-sample-config:sample $pkgname-sqlite"
16source="http://downloads.digium.com/pub/asterisk/releases/$pkgname-$pkgver.tar.gz 17source="http://downloads.digium.com/pub/asterisk/releases/$pkgname-$pkgver.tar.gz
17 100-uclibc-daemon.patch 18 100-uclibc-daemon.patch
18 101-caps-uclibc.patch 19 101-caps-uclibc.patch
@@ -48,6 +49,8 @@ build() {
48 --without-iconv --with-popt --with-z --with-newt \ 49 --without-iconv --with-popt --with-z --with-newt \
49 --with-odbc --with-postgres --with-tds \ 50 --with-odbc --with-postgres --with-tds \
50 --with-dahdi --with-pri --with-tonezone \ 51 --with-dahdi --with-pri --with-tonezone \
52 --with-resample \
53 --with-sqlite3 \
51 --with-asound \ 54 --with-asound \
52 --without-x11 \ 55 --without-x11 \
53 --with-spandsp \ 56 --with-spandsp \
@@ -86,6 +89,12 @@ pgsql() {
86 _find_and_move '*_pgsql*' 89 _find_and_move '*_pgsql*'
87} 90}
88 91
92sqlite() {
93 depends=
94 install=
95 _find_and_move '*_sqlite*'
96}
97
89odbc() { 98odbc() {
90 depends= 99 depends=
91 install= 100 install=
@@ -110,7 +119,7 @@ sample() {
110 make samples DESTDIR="$subpkgdir" 119 make samples DESTDIR="$subpkgdir"
111} 120}
112 121
113md5sums="2ee5bbb91771c7c9b131da473971bc2f asterisk-1.6.2.8.tar.gz 122md5sums="1f947d951c419b8039d53a6e6168fd69 asterisk-1.6.2.9.tar.gz
114b00c9d98ce2ad445501248a197c6e436 100-uclibc-daemon.patch 123b00c9d98ce2ad445501248a197c6e436 100-uclibc-daemon.patch
1156e1129e30c4fd2c25c86c81685a485a9 101-caps-uclibc.patch 1246e1129e30c4fd2c25c86c81685a485a9 101-caps-uclibc.patch
11679e9634b5054bceb3b8dc246654bb243 400-bug-227.patch 12579e9634b5054bceb3b8dc246654bb243 400-bug-227.patch