[packages] restorefactory: small makefile update
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24696 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7df99089ea
commit
255cc91d94
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=sshtunnel
|
||||
PKG_VERSION:=3
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=restorefactory
|
||||
PKG_VERSION:=1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@ -29,7 +29,10 @@ define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/restorefactory/install
|
||||
$(CP) ./files/* $(1)
|
||||
$(INSTALL_DIR) $(1)/etc/hotplug.d/button
|
||||
$(INSTALL_BIN) ./files/hotplug_restorefactory $(1)/etc/hotplug.d/button/50-restorefactory
|
||||
$(INSTALL_DIR) $(1)/etc/defaults
|
||||
$(INSTALL_BIN) ./files/uci_defaults_restorefactory $(1)/etc/defaults/50-restorefactory
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,restorefactory))
|
||||
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=watchcat
|
||||
PKG_VERSION:=1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@ -34,7 +34,7 @@ endef
|
||||
define Package/watchcat/install
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./files/initd_watchcat $(1)/etc/init.d/watchcat
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_DIR) $(1)/etc/defaults
|
||||
$(INSTALL_BIN) ./files/uci_defaults_watchcat $(1)/etc/defaults/50-watchcat
|
||||
endef
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user