asterisk-chan-dongle: remove asterisk-11.x variant
authorJiri Slachta <jiri@slachta.eu>
Sun, 29 Oct 2017 17:16:36 +0000 (18:16 +0100)
committerJiri Slachta <jiri@slachta.eu>
Sun, 29 Oct 2017 17:16:36 +0000 (18:16 +0100)
The removal of asterisk-11.x variant is made due to
asterisks 11.x EOL.

Signed-off-by: Jiri Slachta <jiri@slachta.eu>
net/asterisk-chan-dongle/Makefile

index fcb3ab647101be890a3ee8dfb363d909f43c89dd..f5a12da13029a8146fd72e967070e8141461c63b 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=asterisk-chan-dongle
 PKG_VERSION:=1.1-20170913
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/wdoekes/asterisk-chan-dongle.git
@@ -36,12 +36,6 @@ define Package/asterisk-chan-dongle/Default
   TITLE:=Huawei UMTS 3G dongle support
 endef
 
-define Package/asterisk11-chan-dongle
-$(call Package/asterisk-chan-dongle/Default)
-  DEPENDS+=asterisk11
-  VARIANT:=asterisk11
-endef
-
 define Package/asterisk13-chan-dongle
 $(call Package/asterisk-chan-dongle/Default)
   DEPENDS+=asterisk13
@@ -52,15 +46,8 @@ define Package/description/Default
  Asterisk channel driver for Huawei UMTS 3G dongle.
 endef
 
-Package/asterisk11-chan-dongle/description = $(Package/description/Default)
 Package/asterisk13-chan-dongle/description = $(Package/description/Default)
 
-ifeq ($(BUILD_VARIANT),asterisk11)
-  CHAN_DONGLE_AST_HEADERS:=$(STAGING_DIR)/usr/include/asterisk-11/include
-  CONFIGURE_ARGS+= \
-         --with-astversion=11
-endif
-
 ifeq ($(BUILD_VARIANT),asterisk13)
   CHAN_DONGLE_AST_HEADERS:=$(STAGING_DIR)/usr/include/asterisk-13/include
   CONFIGURE_ARGS+= \
@@ -110,7 +97,6 @@ define Package/conffiles/Default
 /etc/asterisk/dongle.conf
 endef
 
-Package/asterisk11-chan-dongle/conffiles = $(Package/conffiles/Default)
 Package/asterisk13-chan-dongle/conffiles = $(Package/conffiles/Default)
 
 define Package/Install/Default
@@ -120,8 +106,6 @@ define Package/Install/Default
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/chan_dongle.so $(1)/usr/lib/asterisk/modules
 endef
 
-Package/asterisk11-chan-dongle/install = $(Package/Install/Default)
 Package/asterisk13-chan-dongle/install = $(Package/Install/Default)
 
-$(eval $(call BuildPackage,asterisk11-chan-dongle))
 $(eval $(call BuildPackage,asterisk13-chan-dongle))