[packages] sshtunnel: small makefile fix
authornunojpg <nunojpg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 19 Dec 2010 01:09:10 +0000 (01:09 +0000)
committernunojpg <nunojpg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 19 Dec 2010 01:09:10 +0000 (01:09 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24694 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/sshtunnel/Makefile

index 44c4fc7..f75fcbb 100644 (file)
@@ -34,9 +34,12 @@ define Build/Compile
 endef
 
 define Package/sshtunnel/install
-       $(CP) ./files/uci_sshtunnel $(1)/etc/config/sshtunnel
-       $(CP) ./files/initd_sshtunnel $(1)/etc/initd/sshtunnel
-       $(CP) ./files/sshtunnel.sh $(1)/usr/bin/
+       $(INSTALL_DIR) $(1)/etc/init.d
+       $(INSTALL_BIN) ./files/initd_sshtunnel $(1)/etc/init.d/sshtunnel
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_BIN) ./files/sshtunnel.sh $(1)/usr/bin/
+       $(INSTALL_DIR) $(1)/etc/config
+       $(INSTALL_DATA) ./files/uci_sshtunnel $(1)/etc/config/sshtunnel
 endef
 
 $(eval $(call BuildPackage,sshtunnel))