[packages] freeswitch: move initscript from InstallDev to freeswitch package
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18116 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
52b33d1d82
commit
0a06c868ed
@ -246,10 +246,6 @@ define Build/InstallDev
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/freeswitch/include/* $(1)/usr/include/freeswitch/
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreeswitch.{a,so*} $(1)/usr/lib/
|
||||
$(INSTALL_DIR) $(1)/etc/default
|
||||
$(INSTALL_DATA) ./files/freeswitch.default $(1)/etc/default/freeswitch
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/freeswitch.init $(1)/etc/init.d/freeswitch
|
||||
endef
|
||||
|
||||
define Package/freeswitch/install
|
||||
@ -258,6 +254,10 @@ define Package/freeswitch/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libfreeswitch.so.* $(1)/usr/lib/
|
||||
$(INSTALL_DIR) $(1)/usr/lib/freeswitch
|
||||
$(INSTALL_DIR) $(1)/etc/default
|
||||
$(INSTALL_DATA) ./files/freeswitch.default $(1)/etc/default/freeswitch
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/freeswitch.init $(1)/etc/init.d/freeswitch
|
||||
endef
|
||||
|
||||
define Package/freeswitch-default/install
|
||||
|
Loading…
x
Reference in New Issue
Block a user