Commit bc3219e4 authored by Mike Frysinger's avatar Mike Frysinger Committed by Peter Korsgaard
Browse files

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: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent c98bc88e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
	Fixes all over the tree.

	Updated/fixed packages: bash, bind, busybox, libglib2,
	libcurl, libmad, midori, module-init-tools, mtd-utils,
	libcurl, libmad, lrzsz, midori, module-init-tools, mtd-utils,
	openssh, openssl, pciutils, qt, sqlite, sysstat, webkit, zlib

	Issues resolved (http://bugs.uclibc.org):
+3 −1
Original line number Diff line number Diff line
@@ -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