Changeset 29665


Ignore:
Timestamp:
2012-01-04T22:35:38+01:00 (6 years ago)
Author:
zandbelt
Message:

[packages] asterisk-1.8.x: add package res_srtp; thanks to Victor Seva; closes #8915

File:
1 edited

Legend:

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

    r29601 r29665  
    118118endef 
    119119 
     120define Package/asterisk18-res-srtp 
     121$(call Package/asterisk18/Default) 
     122  TITLE:=SRTP support 
     123  DEPENDS:= asterisk18 +asterisk18-res-crypto +libsrtp 
     124endef 
     125 
     126define Package/asterisk18-res-srtp/description 
     127$(call Package/asterisk18/Default/description) 
     128 This package provides SRTP support to 
     129 Asterisk. 
     130endef 
     131 
    120132define Package/asterisk18-chan-gtalk 
    121133$(call Package/asterisk18/Default) 
     
    230242  CONFIGURE_ARGS+= \ 
    231243        --without-bluetooth 
     244endif 
     245 
     246ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-res-srtp),) 
     247  CONFIGURE_ARGS+= \ 
     248        --with-srtp="$(STAGING_DIR)/usr" 
     249else 
     250  CONFIGURE_ARGS+= \ 
     251        --without-srtp 
    232252endif 
    233253 
     
    481501endef 
    482502 
     503define Package/asterisk18-res-srtp/install 
     504        $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules 
     505        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_srtp.so $(1)/usr/lib/asterisk/modules/ 
     506endef 
     507 
    483508define Buildasterisk18ModuleTemplate 
    484509 
     
    515540$(eval $(call BuildPackage,asterisk18-curl)) 
    516541$(eval $(call BuildPackage,asterisk18-mysql)) 
     542$(eval $(call BuildPackage,asterisk18-res-srtp)) 
    517543$(eval $(call Buildasterisk18ModuleTemplate,app_authenticate,Authenticate,support for executing arbitrary authenticate commands)) 
    518544$(eval $(call Buildasterisk18ModuleTemplate,app_chanisavail,Channel availability check,support for checking if a channel is available)) 
Note: See TracChangeset for help on using the changeset viewer.