include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk
-PKG_VERSION:=1.6.2.0-beta4
+PKG_VERSION:=1.6.2.0-rc6
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://downloads.digium.com/pub/asterisk/releases/
-PKG_MD5SUM:=a1f658207ed618056294e04d69077509
+PKG_MD5SUM:=770a80d306ccc928481ff9030d7fec38
include $(INCLUDE_DIR)/package.mk
support to Asterisk.
endef
+define Package/asterisk16-app-system
+$(call Package/asterisk16/Default)
+ TITLE:=System exec support
+ DEPENDS:= +asterisk16
+endef
+
+define Package/asterisk16-app-system/description
+$(call Package/asterisk16/Default/description)
+ This package provides support for executing system commands in Asterisk.
+endef
+
CONFIGURE_ARGS+= \
--without-curl \
--without-curses \
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_jabber.so $(1)/usr/lib/asterisk/modules/
endef
+define Package/asterisk16-app-system/install
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_system.so $(1)/usr/lib/asterisk/modules/
+endef
+
$(eval $(call BuildPackage,asterisk16))
$(eval $(call BuildPackage,asterisk16-voicemail))
$(eval $(call BuildPackage,asterisk16-sounds))
$(eval $(call BuildPackage,asterisk16-res-musiconhold))
$(eval $(call BuildPackage,asterisk16-format-g729))
$(eval $(call BuildPackage,asterisk16-chan-gtalk))
+$(eval $(call BuildPackage,asterisk16-app-system))