From 255cc91d94d51c2b7ff8967c1df48077d3b16a70 Mon Sep 17 00:00:00 2001 From: nunojpg Date: Sun, 19 Dec 2010 01:17:57 +0000 Subject: [PATCH] [packages] restorefactory: small makefile update git-svn-id: svn://svn.openwrt.org/openwrt/packages@24696 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/sshtunnel/Makefile | 2 +- utils/restorefactory/Makefile | 7 +++++-- .../hotplug.d/button/50-restorefactory => hotplug_restorefactory} | 0 .../uci-defaults/50-restorefactory => uci_defaults_restorefactory} | 0 utils/watchcat/Makefile | 4 ++-- 5 files changed, 8 insertions(+), 5 deletions(-) rename utils/restorefactory/files/{etc/hotplug.d/button/50-restorefactory => hotplug_restorefactory} (100%) rename utils/restorefactory/files/{etc/uci-defaults/50-restorefactory => uci_defaults_restorefactory} (100%) diff --git a/net/sshtunnel/Makefile b/net/sshtunnel/Makefile index f75fcbbfb..c704004c6 100644 --- a/net/sshtunnel/Makefile +++ b/net/sshtunnel/Makefile @@ -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 diff --git a/utils/restorefactory/Makefile b/utils/restorefactory/Makefile index a359a66d4..fbee589a7 100644 --- a/utils/restorefactory/Makefile +++ b/utils/restorefactory/Makefile @@ -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)) diff --git a/utils/restorefactory/files/etc/hotplug.d/button/50-restorefactory b/utils/restorefactory/files/hotplug_restorefactory similarity index 100% rename from utils/restorefactory/files/etc/hotplug.d/button/50-restorefactory rename to utils/restorefactory/files/hotplug_restorefactory diff --git a/utils/restorefactory/files/etc/uci-defaults/50-restorefactory b/utils/restorefactory/files/uci_defaults_restorefactory similarity index 100% rename from utils/restorefactory/files/etc/uci-defaults/50-restorefactory rename to utils/restorefactory/files/uci_defaults_restorefactory diff --git a/utils/watchcat/Makefile b/utils/watchcat/Makefile index faf009188..3c9016e62 100644 --- a/utils/watchcat/Makefile +++ b/utils/watchcat/Makefile @@ -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 -- 2.11.0