Changeset 21966


Ignore:
Timestamp:
2010-06-27T15:36:34+02:00 (7 years ago)
Author:
cshore
Message:

net/freeswitch: Separated configs. Made -upstream-defaults config a separate package and added it to freeswitch-default. Also added -config-minimal and added it to freeswitch-minimal

Location:
packages/net/freeswitch
Files:
42 added
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/freeswitch/Makefile

    r21965 r21966  
    159159endef 
    160160 
    161 define Package/freeswitch-default 
    162 $(call Package/freeswitch/Default) 
    163   TITLE:=FreeSWITCH default config 
     161define Package/freeswitch-config-upstream-defaults 
     162$(call Package/freeswitch/Default) 
     163  TITLE:=FreeSWITCH upstream config 
     164  DEPENDS:= freeswitch 
     165endef 
     166 
     167define Package/freeswitch-config-upstream-defaults/description 
     168  The default configuration included with FreeSWITCH. It is not intended to be 
     169  a final product, and but is included for those who don't want to use the  
     170  OpenWRT configuration and/or want to try things as prepared by upstream. 
     171endef 
     172 
     173define Package/freeswitch-config-minimal 
     174$(call Package/freeswitch/Default) 
     175  TITLE:=FreeSWITCH minimal OpenWRT config 
     176  DEPENDS:= freeswitch 
     177endef 
     178 
     179define Package/freeswitch-config-minimal/description 
     180  The OpenWRT configuration for the OpenWRT FreeSWITCH minimal package collection. 
     181endef 
     182 
     183define Package/freeswitch-collection-upstream-defaults 
     184$(call Package/freeswitch/Default) 
     185  TITLE:=FreeSWITCH upstream default (sample) config 
    164186  DEPENDS:= freeswitch \ 
     187                +freeswitch-config-upstream-defaults \ 
    165188                +freeswitch-mod-commands \ 
    166189                +freeswitch-mod-conference \ 
     
    189212# by the LuCI / ucitrigger interface to FreeSWITCH on OpenWRT 
    190213 
    191 define Package/freeswitch-minimal 
    192 $(call Package/freeswitch/Default) 
    193   TITLE:=FreeSWITCH minimal config 
     214define Package/freeswitch-collection-minimal 
     215$(call Package/freeswitch/Default) 
     216  TITLE:=FreeSWITCH on OpenWRT minimal config 
    194217  DEPENDS:= freeswitch \ 
     218                +freeswitch-config-minimal \ 
    195219                +freeswitch-mod-commands \ 
    196220                +freeswitch-mod-syslog \ 
     
    377401endef 
    378402 
    379 define Package/freeswitch-default/install 
     403define Package/freeswitch-collection-default/install 
    380404        $(INSTALL_DIR) $(1)/etc/freeswitch 
    381         $(CP) $(PKG_INSTALL_DIR)/etc/freeswitch/* $(1)/etc/freeswitch/ 
    382405endef 
    383406 
     
    387410endef 
    388411 
    389 define Package/freeswitch-minimal/install 
     412define Package/freeswitch-config-upstream-defaults/install 
    390413        $(INSTALL_DIR) $(1)/etc/freeswitch 
     414        $(CP) $(PKG_INSTALL_DIR)/etc/freeswitch/* $(1)/etc/freeswitch/ 
     415endef 
     416 
     417define Package/freeswitch-collection-minimal/install 
     418        $(INSTALL_DIR) $(1)/etc/freeswitch 
     419endef 
     420 
     421define Package/freeswitch-config-minimal/install 
     422        $(INSTALL_DIR) $(1)/etc/freeswitch 
     423        $(CP) ./files/etc.minimal/* $(1)/etc/freeswitch/ 
    391424endef 
    392425 
     
    431464 
    432465$(eval $(call BuildPackage,freeswitch)) 
    433 $(eval $(call BuildPackage,freeswitch-default)) 
    434 $(eval $(call BuildPackage,freeswitch-minimal)) 
     466$(eval $(call BuildPackage,freeswitch-collection-upstream-defaults)) 
     467$(eval $(call BuildPackage,freeswitch-collection-minimal)) 
    435468$(eval $(call BuildPackage,freeswitch-sounds-en)) 
    436469$(eval $(call BuildPackage,freeswitch-sounds-moh)) 
    437470$(eval $(call BuildPackage,freeswitch-tools)) 
    438471$(eval $(call BuildPackage,freeswitch-example-config)) 
     472$(eval $(call BuildPackage,freeswitch-config-upstream-defaults)) 
     473$(eval $(call BuildPackage,freeswitch-config-minimal)) 
    439474 
    440475#$(eval $(call BuildPlugin,Name,Title,Files,Depends)) 
Note: See TracChangeset for help on using the changeset viewer.