projects
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace lots of manual install commands with INSTALL_* variables
[packages.git]
/
net
/
cutter
/
Makefile
diff --git
a/net/cutter/Makefile
b/net/cutter/Makefile
index
7c8d5cf
..
2b99a55
100644
(file)
--- a/
net/cutter/Makefile
+++ b/
net/cutter/Makefile
@@
-35,12
+35,12
@@
endef
define Build/Compile
$(TARGET_CC) $(PKG_BUILD_DIR)/cutter.c -o $(PKG_BUILD_DIR)/cutter
define Build/Compile
$(TARGET_CC) $(PKG_BUILD_DIR)/cutter.c -o $(PKG_BUILD_DIR)/cutter
-
install -d -m0755
$(PKG_INSTALL_DIR)/usr/sbin
-
install -m0755
$(PKG_BUILD_DIR)/cutter $(PKG_INSTALL_DIR)/usr/sbin/
+
$(INSTALL_DIR)
$(PKG_INSTALL_DIR)/usr/sbin
+
$(INSTALL_BIN)
$(PKG_BUILD_DIR)/cutter $(PKG_INSTALL_DIR)/usr/sbin/
endef
define Package/cutter/install
endef
define Package/cutter/install
-
install -d -m0755
$(1)/usr/sbin
+
$(INSTALL_DIR)
$(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/cutter $(1)/usr/sbin/
endef
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/cutter $(1)/usr/sbin/
endef