From e00b2dfa355a26eafecd8bd041ed09ce98aa8da1 Mon Sep 17 00:00:00 2001 From: Daniel Dickinson Date: Sun, 27 Jun 2010 13:36:16 +0000 Subject: [PATCH] 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) SVN-Revision: 21962 --- net/freeswitch/Makefile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile index 9b80761468..73238788a6 100644 --- a/net/freeswitch/Makefile +++ b/net/freeswitch/Makefile @@ -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)) -- 2.30.2