Changeset 30886


Ignore:
Timestamp:
2012-03-11T18:42:07+01:00 (6 years ago)
Author:
zandbelt
Message:

[packages] asterisk-1.8.x: add fax modules; thanks Zhiqiang Wang <wang.9264@…>

File:
1 edited

Legend:

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

    r29761 r30886  
    153153endef 
    154154 
     155define Package/asterisk18-res-timing-timerfd 
     156$(call Package/asterisk18/Default) 
     157  TITLE:= Timerfd Timing Interface 
     158  DEPENDS:= asterisk18 
     159endef 
     160 
     161define Package/asterisk18-res-timing-pthread 
     162$(call Package/asterisk18/Default) 
     163  TITLE:= pthread Timing Interface 
     164  DEPENDS:= asterisk18 
     165endef 
     166 
     167define Package/asterisk18-res-fax 
     168$(call Package/asterisk18/Default) 
     169  TITLE:=Generic FAX Resource for FAX technology resource modules 
     170  DEPENDS:= asterisk18 +asterisk18-res-timing-pthread 
     171endef 
     172 
     173define Package/asterisk18-res-fax-spandsp 
     174$(call Package/asterisk18/Default) 
     175  TITLE:=Spandsp T.38 and G.711 FAX Resource 
     176  DEPENDS:= asterisk18 +asterisk18-res-fax +libspandsp 
     177endef 
     178 
    155179define Package/asterisk18-chan-mgcp 
    156180$(call Package/asterisk18/Default) 
     
    234258  CONFIGURE_ARGS+= \ 
    235259        --without-mysqlclient 
     260endif 
     261 
     262ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-res-fax-spandsp),) 
     263  CONFIGURE_ARGS+= \ 
     264    --with-spandsp="$(STAGING_DIR)/usr" 
     265else 
     266  CONFIGURE_ARGS+= \ 
     267    --without-spandsp 
    236268endif 
    237269 
     
    272304        --without-radius \ 
    273305        --without-sdl \ 
    274         --without-spandsp \ 
    275306        --without-suppserv \ 
    276307        --without-tds \ 
     
    456487endef 
    457488 
     489define Package/asterisk18-res-timing-timerfd/install 
     490        $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules 
     491        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_timing_timerfd.so $(1)/usr/lib/asterisk/modules/ 
     492endef 
     493 
     494define Package/asterisk18-res-timing-pthread/install 
     495        $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules 
     496        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_timing_pthread.so $(1)/usr/lib/asterisk/modules/ 
     497endef 
     498 
     499define Package/asterisk18-res-fax/conffiles 
     500/etc/asterisk/res_fax.conf 
     501endef 
     502 
     503define Package/asterisk18-res-fax/install 
     504        $(INSTALL_DIR) $(1)/etc/asterisk 
     505        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/res_fax.conf $(1)/etc/asterisk/ 
     506        $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules 
     507        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_fax.so $(1)/usr/lib/asterisk/modules/ 
     508endef 
     509 
     510define Package/asterisk18-res-fax-spandsp/install 
     511        $(INSTALL_DIR) $(1)/etc/asterisk 
     512        $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules 
     513        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_fax_spandsp.so $(1)/usr/lib/asterisk/modules/ 
     514endef 
     515 
    458516define Package/asterisk18-chan-mgcp/conffiles 
    459517/etc/asterisk/mgcp.conf 
     
    536594$(eval $(call BuildPackage,asterisk18-chan-gtalk)) 
    537595$(eval $(call BuildPackage,asterisk18-chan-mobile)) 
     596$(eval $(call BuildPackage,asterisk18-res-fax)) 
     597$(eval $(call BuildPackage,asterisk18-res-fax-spandsp)) 
     598$(eval $(call BuildPackage,asterisk18-res-timing-timerfd)) 
     599$(eval $(call BuildPackage,asterisk18-res-timing-pthread)) 
    538600$(eval $(call BuildPackage,asterisk18-chan-mgcp)) 
    539601$(eval $(call BuildPackage,asterisk18-chan-skinny)) 
Note: See TracChangeset for help on using the changeset viewer.