freeswitch/net: Moved default config into a separate package which installs under /usr/share for documentation purposes (as it's not really intended to be a production configuration)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@21962 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
cshore 2010-06-27 13:36:16 +00:00
parent a54f974a51
commit 174d7ce81c

View File

@ -146,7 +146,17 @@ define Package/freeswitch/description
from a soft-phone up to a soft-switch.
endef
define Package/freeswitch-example-config
$(call Package/freeswitch/Default)
TITLE:=FreeSWITCH example config (commented)
DEPENDS:= freeswitch
endef
define Package/freeswitch-example-config/description
The default configuration included with FreeSWITCH. It is not intended to be
a final product, and is thus moved to /usr/share/freeswitch/examples/conf to
be an example of how FreeSWITCH can be configured.
endef
define Package/freeswitch-default
$(call Package/freeswitch/Default)
@ -363,9 +373,13 @@ define Package/freeswitch-default/install
$(CP) $(PKG_INSTALL_DIR)/etc/freeswitch/* $(1)/etc/freeswitch/
endef
define Package/freeswitch-example-config/install
$(INSTALL_DIR) $(1)/usr/share/freeswitch/examples/conf
$(CP) $(PKG_INSTALL_DIR)/etc/freeswitch/* $(1)/usr/share/freeswitch/examples/conf/
endef
define Package/freeswitch-minimal/install
$(INSTALL_DIR) $(1)/etc/freeswitch
$(CP) $(PKG_INSTALL_DIR)/etc/freeswitch/* $(1)/etc/freeswitch/
endef
define Package/freeswitch-sounds-en/install
@ -413,6 +427,7 @@ $(eval $(call BuildPackage,freeswitch-minimal))
$(eval $(call BuildPackage,freeswitch-sounds-en))
$(eval $(call BuildPackage,freeswitch-sounds-moh))
$(eval $(call BuildPackage,freeswitch-tools))
$(eval $(call BuildPackage,freeswitch-example-config))
#$(eval $(call BuildPlugin,Name,Title,Files,Depends))
$(eval $(call BuildPlugin,alsa,Alsa endpoint,mod_alsa,,+alsa-lib))