projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] also install rbash (#6927)
[openwrt/svn-archive/archive.git]
/
utils
/
lrzsz
/
Makefile
diff --git
a/utils/lrzsz/Makefile
b/utils/lrzsz/Makefile
index 54ba0c6c2f7b954103d6ce5bc52bf1b50327dffb..6e93bad12a7a3fa1c0c4b7c8ed7ab92c3def0b6f 100644
(file)
--- a/
utils/lrzsz/Makefile
+++ b/
utils/lrzsz/Makefile
@@
-4,7
+4,6
@@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id$
include $(TOPDIR)/rules.mk
include $(TOPDIR)/rules.mk
@@
-16,8
+15,7
@@
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.ohse.de/uwe/releases/
PKG_MD5SUM:=b5ce6a74abc9b9eb2af94dffdfd372a4
PKG_SOURCE_URL:=http://www.ohse.de/uwe/releases/
PKG_MD5SUM:=b5ce6a74abc9b9eb2af94dffdfd372a4
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/package.mk
@@
-37,16
+35,10
@@
endef
# uses GNU configure
# uses GNU configure
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
-endef
-
-define Package/lrzsz/install
+define Package/lrzsz/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/bin
- $(
CP
) $(PKG_INSTALL_DIR)/usr/bin/lrz $(1)/usr/bin/
- $(
CP
) $(PKG_INSTALL_DIR)/usr/bin/lsz $(1)/usr/bin/
+ $(
INSTALL_BIN
) $(PKG_INSTALL_DIR)/usr/bin/lrz $(1)/usr/bin/
+ $(
INSTALL_BIN
) $(PKG_INSTALL_DIR)/usr/bin/lsz $(1)/usr/bin/
(cd $(1)/usr/bin; \
ln -fs lrz lrx; \
ln -fs lrz lrb; \
(cd $(1)/usr/bin; \
ln -fs lrz lrx; \
ln -fs lrz lrb; \