2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2003-01-18 22:27:22 +01:00
|
|
|
#
|
2013-06-06 01:53:29 +02:00
|
|
|
# lrzsz
|
2003-01-18 22:27:22 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-20 10:45:48 +01:00
|
|
|
|
2013-01-20 10:45:47 +01:00
|
|
|
LRZSZ_VERSION = 0.12.20
|
|
|
|
LRZSZ_SITE = http://www.ohse.de/uwe/releases
|
2014-01-02 12:04:04 +01:00
|
|
|
LRZSZ_CONF_OPT = --disable-timesync
|
|
|
|
LRZSZ_LICENSE = GPLv2+
|
|
|
|
LRZSZ_LICENSE_FILES = COPYING
|
2003-01-18 22:27:22 +01:00
|
|
|
|
2010-06-16 13:47:21 +02:00
|
|
|
define LRZSZ_POST_CONFIGURE_HOOKS
|
|
|
|
$(SED) "s/-lnsl//;" $(@D)/src/Makefile
|
|
|
|
$(SED) "s~\(#define ENABLE_SYSLOG.*\)~/* \1 */~;" $(@D)/config.h
|
|
|
|
endef
|
2003-01-18 22:27:22 +01:00
|
|
|
|
2010-06-16 13:47:21 +02:00
|
|
|
define LRZSZ_BUILD_HOOKS
|
|
|
|
$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" prefix="$(TARGET_DIR)" -C $(@D)
|
|
|
|
endef
|
2003-01-18 22:27:22 +01:00
|
|
|
|
2010-06-16 13:47:21 +02:00
|
|
|
define LRZSZ_INSTALL_TARGET_CMDS
|
2011-10-10 00:14:27 +02:00
|
|
|
$(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
|
2010-06-16 13:47:21 +02:00
|
|
|
endef
|
2003-01-18 22:27:22 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|