Changeset 17410


Ignore:
Timestamp:
2009-08-26T22:58:38+02:00 (7 years ago)
Author:
zandbelt
Message:

update asterisk-1.6.x to 1.6.2.0-beta4; add chan_gtalk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/asterisk-1.6.x/Makefile

    r16341 r17410  
    99 
    1010PKG_NAME:=asterisk 
    11 PKG_VERSION:=1.6.2.0-beta2 
     11PKG_VERSION:=1.6.2.0-beta4 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://downloads.digium.com/pub/asterisk/releases/ 
    16 PKG_MD5SUM:=ca10a82f5c6ffcec8a9168560e5107ea 
     16PKG_MD5SUM:=a1f658207ed618056294e04d69077509 
    1717 
    1818include $(INCLUDE_DIR)/package.mk 
     
    138138endef 
    139139 
     140define Package/asterisk16-chan-gtalk 
     141$(call Package/asterisk16/Default) 
     142  TITLE:=GTalk support 
     143  DEPENDS:= +asterisk16 +libiksemel 
     144endef 
     145 
     146define Package/asterisk16-chan-gtalk/description 
     147$(call Package/asterisk16/Default/description) 
     148 This package provides the channel chan_gtalk and res_jabber for GTalk 
     149 support to Asterisk. 
     150endef 
    140151 
    141152CONFIGURE_ARGS+= \ 
     
    178189endif 
    179190 
     191ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk16-chan-gtalk),) 
     192  CONFIGURE_ARGS+= \ 
     193        --with-gnutls="$(STAGING_DIR)/usr" \ 
     194        --with-iksemel="$(STAGING_DIR)/usr" 
     195  SITE_VARS+= \ 
     196        ac_cv_lib_iksemel_iks_start_sasl=yes \ 
     197        ac_cv_lib_gnutls_gnutls_bye=yes 
     198else 
     199  CONFIGURE_ARGS+= \ 
     200        --without-gnutls \ 
     201        --without-iksemel 
     202endif 
     203 
    180204EXTRA_CFLAGS:= $(TARGET_CPPFLAGS) 
    181205EXTRA_LDFLAGS:= $(TARGET_LDFLAGS) 
     
    333357endef 
    334358 
     359define Package/asterisk16-chan-gtalk/conffiles 
     360/etc/asterisk/gtalk.conf 
     361/etc/asterisk/jabber.conf 
     362endef 
     363 
     364define Package/asterisk16-chan-gtalk/install 
     365        $(INSTALL_DIR) $(1)/etc/asterisk 
     366        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/gtalk.conf $(1)/etc/asterisk/ 
     367        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/jabber.conf $(1)/etc/asterisk/ 
     368        $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules 
     369        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_gtalk.so $(1)/usr/lib/asterisk/modules/ 
     370        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_jabber.so $(1)/usr/lib/asterisk/modules/ 
     371endef 
     372 
    335373$(eval $(call BuildPackage,asterisk16)) 
    336374$(eval $(call BuildPackage,asterisk16-voicemail)) 
     
    342380$(eval $(call BuildPackage,asterisk16-res-musiconhold)) 
    343381$(eval $(call BuildPackage,asterisk16-format-g729)) 
     382$(eval $(call BuildPackage,asterisk16-chan-gtalk)) 
Note: See TracChangeset for help on using the changeset viewer.