summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-11-20 00:27:34 -0500
committerPeter Korsgaard <jacmet@sunsite.dk>2010-11-24 22:30:57 +0100
commitbc3219e48420ce4a9ee2fffe995214cb56f63bc8 (patch)
tree473a57c54036506e76e299468677f23871d29980 /package
parentc98bc88e3296222a20e59cfb7b9f3ec5aee3be1c (diff)
downloadbuildroot-novena-bc3219e48420ce4a9ee2fffe995214cb56f63bc8.tar.gz
buildroot-novena-bc3219e48420ce4a9ee2fffe995214cb56f63bc8.zip
lrzsz: add lrz/lsz symlinks
Many systems support automatic zmodem transfers without needing to first manually run the zmodem utils. But the expectation is to run `lrz` and not `rz`. So install symlinks for lrz->rz and lsz->sz to support this. This also includes a small fix to also remove sz when cleaning. [Peter: use addprefix rather than patsubst] Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/lrzsz/lrzsz.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/lrzsz/lrzsz.mk b/package/lrzsz/lrzsz.mk
index 0b7f4e636..2fce39c78 100644
--- a/package/lrzsz/lrzsz.mk
+++ b/package/lrzsz/lrzsz.mk
@@ -39,10 +39,12 @@ endef
define LRZSZ_INSTALL_TARGET_CMDS
cp $(@D)/src/lrz $(TARGET_DIR)/usr/bin/rz
cp $(@D)/src/lsz $(TARGET_DIR)/usr/bin/sz
+ ln -s rz $(TARGET_DIR)/usr/bin/lrz
+ ln -s sz $(TARGET_DIR)/usr/bin/lsz
endef
define LRZSZ_CLEAN_CMDS
- rm -f $(TARGET_DIR)/usr/bin/rz
+ rm -f $(addprefix $(TARGET_DIR)/usr/bin/,rz sz lrz lsz)
-$(MAKE) -C $(@D) clean
endef