summaryrefslogtreecommitdiff
path: root/package/asterisk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/asterisk/Makefile')
-rw-r--r--package/asterisk/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index 6b1bc0b74..5aa19fa6b 100644
--- a/package/asterisk/Makefile
+++ b/package/asterisk/Makefile
@@ -4,9 +4,9 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= asterisk
-PKG_VERSION:= 20.9.1
+PKG_VERSION:= 22.7.0
PKG_RELEASE:= 1
-PKG_HASH:= 548cdb1e1d854bc466af5178a5ee1b51b6e52d07359a0b286bc9147a64c1adb1
+PKG_HASH:= 5b0e5d276aeb014bf8a08a94d1055a9e97b9dce3375846eea70da5221bf9efe7
PKG_DESCR:= open source pbx
PKG_SECTION:= net/voip
PKG_DEPENDS:= libncurses libcurl libopenssl libedit libuuid libjansson
@@ -53,25 +53,19 @@ $(eval $(call PKG_template,ASTERISK_PBX_DUNDI,asterisk-pbx-dundi,$(PKG_VERSION)-
$(eval $(call PKG_template,ASTERISK_RES_AGI,asterisk-res-agi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_ASTERISK_RES_AGI},${PKG_SECTION}))
CONFIGURE_ARGS= --with-z=${STAGING_TARGET_DIR}/usr \
- --with-ncurses=${STAGING_TARGET_DIR}/usr \
--with-libedit=${STAGING_TARGET_DIR}/usr \
--with-jansson=${STAGING_TARGET_DIR}/usr \
--with-ssl=${STAGING_TARGET_DIR}/usr \
--disable-xmldoc \
--without-tonezone \
- --without-asound \
--without-gtk2 \
- --without-h323 \
--without-iksemel \
--without-imap \
--without-netsnmp \
--without-newt \
- --without-openais \
- --without-osptk \
- --without-oss \
--without-popt \
+ --without-portaudio \
--without-pri \
- --without-pwlib \
--without-tds \
--without-postgres
@@ -97,9 +91,9 @@ endif
INSTALL_STYLE:= manual
-TARGET_CFLAGS+= -fgnu89-inline
TARGET_LDFLAGS+= -lm -ltinfo -ldl -lpthread
-MAKE_ENV= ASTCFLAGS="${TARGET_CPPFLAGS} -DHAVE_STRTOQ" \
+MAKE_ENV:= PATH="$(HOST_PATH)" \
+ ASTCFLAGS="${TARGET_CPPFLAGS} -DHAVE_STRTOQ" \
ASTLDFLAGS="${TARGET_LDFLAGS} -z muldefs"
MAKE_FLAGS+= DESTDIR="$(WRKINST)" \
OPTIMIZE="${TARGET_CFLAGS}" \
@@ -107,10 +101,10 @@ MAKE_FLAGS+= DESTDIR="$(WRKINST)" \
ALL_TARGET:= all install samples
pre-configure:
- cd "$(WRKBUILD)/menuselect"; ./configure
+ cd "$(WRKBUILD)/menuselect"; PATH="$(HOST_PATH)" ./configure
pre-build:
- $(MAKE) -C $(WRKBUILD)/menuselect
+ PATH="$(HOST_PATH)" $(MAKE) -C $(WRKBUILD)/menuselect
#post-build:
# cd ${WRKBUILD}/sounds ; \