diff options
-rw-r--r-- | testing/asterisk/APKBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/testing/asterisk/APKBUILD b/testing/asterisk/APKBUILD index 05837d4aef..209a93d0d0 100644 --- a/testing/asterisk/APKBUILD +++ b/testing/asterisk/APKBUILD @@ -3,14 +3,14 @@ pkgname=asterisk pkgver=1.6.3.0_pre20090623 _basever=1.6.2.0-beta3 -pkgrel=0 +pkgrel=1 pkgdesc="Asterisk: A Module Open Source PBX System" url="http://www.asterisk.org/" license="GPL" depends="dahdi-linux" 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" + freetds-dev openssl-dev lua-dev" install="$pkgname.pre-install $pkgname.post-install" subpackages="$pkgname-dev $pkgname-doc $pkgname-pgsql $pkgname-odbc $pkgname-tds" @@ -34,10 +34,14 @@ build() { patch -p1 < $i || return 1 done + # fix lua includes location + sed -i -e 's:lua5.1/::' pbx/pbx_lua.c + sed -i -e 's/PBX_ICONV=1/PBX_ICONV=0/g' configure.ac ./bootstrap.sh - ./configure --prefix=/usr \ + ./configure --host=${CHOST:-i486-alpine-linux-uclibc} \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ |