kumquat-buildroot/package/lrzsz/lrzsz.mk
Thomas Petazzoni 26f16d0fcf packages: remove the last remaining copyright notices
There is no real reason to keep copyright notices in just four
packages, while none of the other packages have such copyright
notices.

The license is already clearly announced by the COPYING file in the
top Buildroot source directory. The authors are clearly credited
through the Git history of the project.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-20 20:51:17 +01:00

35 lines
939 B
Makefile

#############################################################
#
# lrzsz (provides zmodem)
#
#############################################################
LRZSZ_VERSION = 0.12.20
LRZSZ_SITE = http://www.ohse.de/uwe/releases
LRZSZ_SOURCE = lrzsz-$(LRZSZ_VERSION).tar.gz
LRZSR_CONF_OPT = --disable-timesync
define LRZSZ_POST_CONFIGURE_HOOKS
$(SED) "s/-lnsl//;" $(@D)/src/Makefile
$(SED) "s~\(#define ENABLE_SYSLOG.*\)~/* \1 */~;" $(@D)/config.h
endef
define LRZSZ_BUILD_HOOKS
$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" prefix="$(TARGET_DIR)" -C $(@D)
endef
define LRZSZ_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/src/lrz $(TARGET_DIR)/usr/bin/rz
$(INSTALL) -m 0755 -D $(@D)/src/lsz $(TARGET_DIR)/usr/bin/sz
ln -sf rz $(TARGET_DIR)/usr/bin/lrz
ln -sf sz $(TARGET_DIR)/usr/bin/lsz
endef
define LRZSZ_CLEAN_CMDS
rm -f $(addprefix $(TARGET_DIR)/usr/bin/,rz sz lrz lsz)
-$(MAKE) -C $(@D) clean
endef
$(eval $(autotools-package))