PKG_NAME:=asterisk18
PKG_VERSION:=1.8.32.3
-PKG_RELEASE:=4
+PKG_RELEASE:=5
PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
$(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk
endef
+define Package/$(PKG_NAME)/postinst
+#!/bin/sh
+if [ -z "$${IPKG_INSTROOT}" ]; then
+ echo
+ echo "o-------------------------------------------------------------------o"
+ echo "| Asterisk 1.8 WARNING |"
+ echo "o-------------------------------------------------------------------o"
+ echo "| Asterisk 1.8 is end-of-life. You should upgrade to Asterisk 13. |"
+ echo "o-------------------------------------------------------------=^_^=-o"
+ echo
+fi
+exit 0
+endef
+
define Package/asterisk18-sounds
$(call Package/asterisk18/Default)
TITLE:=Sounds support