diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-13 08:41:51 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-13 08:43:45 +0000 |
commit | c24e609ce8a5e01173d0a35fea22dbd41a2a4ea2 (patch) | |
tree | 8c496ccf96ac56dbd9da3f02e2c6888270ca7278 /testing | |
parent | 732913fda4bc3ad4569ddaf98eb9c9c75041fc8a (diff) | |
download | aports-c24e609ce8a5e01173d0a35fea22dbd41a2a4ea2.tar.bz2 aports-c24e609ce8a5e01173d0a35fea22dbd41a2a4ea2.tar.xz |
testing/asterisk: fix some buildtime dependencies
Diffstat (limited to 'testing')
-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 \ |