Changeset 33793


Ignore:
Timestamp:
2012-10-16T17:55:44+02:00 (5 years ago)
Author:
florian
Message:

[package] asterisk-1.8.x: add ODBC module

this patch includes ODBC support for Asterisk18 package.

Signed-off-by: Jiri Slachta <slachta@…>

File:
1 edited

Legend:

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

    r33541 r33793  
    233233$(call Package/asterisk18/Default/description) 
    234234 This package provides the channel chan_lantiq support to Asterisk. 
     235endef 
     236 
     237define Package/asterisk18-odbc 
     238$(call Package/asterisk18/Default) 
     239  TITLE:=ODBC support 
     240  DEPENDS:= asterisk18 +libpthread +libc +unixodbc 
     241endef 
     242 
     243define Package/asterisk18-odbc/description 
     244$(call Package/asterisk18/Default/description) 
     245 This package provides ODBC support for Asterisk. 
    235246endef 
    236247 
     
    309320        --without-netsnmp \ 
    310321        --without-newt \ 
    311         --without-odbc \ 
    312322        --without-ogg \ 
    313323        --without-osptk \ 
     
    595605endef 
    596606 
     607define Package/asterisk18-odbc/install 
     608        $(INSTALL_DIR) $(1)/etc/asterisk 
     609        $(CP) $(PKG_INSTALL_DIR)/etc/asterisk/*odbc*.conf $(1)/etc/asterisk/ 
     610        $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules 
     611        $(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*odbc*.so $(1)/usr/lib/asterisk/modules/ 
     612endef 
     613 
    597614define Buildasterisk18ModuleTemplate 
    598615 
     
    625642$(eval $(call BuildPackage,asterisk18-chan-gtalk)) 
    626643$(eval $(call BuildPackage,asterisk18-chan-mobile)) 
     644$(eval $(call BuildPackage,asterisk18-odbc)) 
    627645$(eval $(call BuildPackage,asterisk18-res-fax)) 
    628646$(eval $(call BuildPackage,asterisk18-res-fax-spandsp)) 
Note: See TracChangeset for help on using the changeset viewer.