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-09-27 21:32:44 +02:00
|
|
|
LRZSZ_CONF_OPTS = --disable-timesync
|
2017-03-30 15:43:32 +02:00
|
|
|
LRZSZ_LICENSE = GPL-2.0+
|
2014-01-02 12:04:04 +01:00
|
|
|
LRZSZ_LICENSE_FILES = COPYING
|
2021-07-19 00:02:00 +02:00
|
|
|
LRZSZ_CPE_ID_VENDOR = lrzsz_project
|
2019-04-20 18:58:52 +02:00
|
|
|
LRZSZ_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
|
|
|
LRZSZ_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
|
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
|
2016-10-17 18:06:20 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" prefix="$(TARGET_DIR)" -C $(@D)
|
2010-06-16 13:47:21 +02:00
|
|
|
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
|
2018-05-24 19:51:18 +02:00
|
|
|
ln -sf rz $(TARGET_DIR)/usr/bin/rb
|
|
|
|
ln -sf sz $(TARGET_DIR)/usr/bin/sb
|
|
|
|
ln -sf rz $(TARGET_DIR)/usr/bin/rx
|
|
|
|
ln -sf sz $(TARGET_DIR)/usr/bin/sx
|
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))
|