asterisk-g72x: removal of asterisk-11.x variant
The removal of asterisk11.x variant is made due to asterisk 11.x EOL. Signed-off-by: Jiri Slachta <jiri@slachta.eu>
This commit is contained in:
parent
bb3d3aa83a
commit
e1797c350c
1 changed files with 1 additions and 26 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=asterisk-g72x
|
||||
PKG_VERSION:=1.4.1
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=asterisk-g72x-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=http://asterisk.hosting.lv/src/
|
||||
|
@ -36,12 +36,6 @@ define Package/asterisk-g72x/Default
|
|||
DEPENDS:= +bcg729
|
||||
endef
|
||||
|
||||
define Package/asterisk11-codec-g729
|
||||
$(call Package/asterisk-g72x/Default)
|
||||
DEPENDS+= asterisk11
|
||||
VARIANT:=asterisk11
|
||||
endef
|
||||
|
||||
define Package/asterisk13-codec-g729
|
||||
$(call Package/asterisk-g72x/Default)
|
||||
DEPENDS+= asterisk13
|
||||
|
@ -52,25 +46,8 @@ define Package/description/Default
|
|||
Asterisk G.729 codec based on bcg729 implementation.
|
||||
endef
|
||||
|
||||
Package/asterisk11-codec-g729/description = $(Package/description/Default)
|
||||
Package/asterisk13-codec-g729/description = $(Package/description/Default)
|
||||
|
||||
ifeq ($(BUILD_VARIANT),asterisk11)
|
||||
MAKE_ARGS:= \
|
||||
CC="$(TARGET_CC)" \
|
||||
LD="$(TARGET_LD)" \
|
||||
CFLAGS="$(TARGET_CFLAGS) -DASTERISK_VERSION_NUM=110000 -DLOW_MEMORY -D_XOPEN_SOURCE=600 $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/asterisk-11/include -DHAVE_CONFIG_H -I. -fPIC" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)"
|
||||
|
||||
CONFIGURE_ARGS+=\
|
||||
--with-asterisk-includes=$(STAGING_DIR)/usr/include/asterisk-11/include \
|
||||
--with-asterisk100 \
|
||||
--with-bcg729 \
|
||||
--enable-shared \
|
||||
$(MAKE_ARGS)
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_VARIANT),asterisk13)
|
||||
MAKE_ARGS:= \
|
||||
CC="$(TARGET_CC)" \
|
||||
|
@ -92,8 +69,6 @@ define Package/Install/Default
|
|||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/codec_g729.so $(1)/usr/lib/asterisk/modules/
|
||||
endef
|
||||
|
||||
Package/asterisk11-codec-g729/install = $(Package/Install/Default)
|
||||
Package/asterisk13-codec-g729/install = $(Package/Install/Default)
|
||||
|
||||
$(eval $(call BuildPackage,asterisk11-codec-g729))
|
||||
$(eval $(call BuildPackage,asterisk13-codec-g729))
|
||||
|
|
Loading…
Reference in a new issue