2352c82731
cpe:2.3🅰️lrzsz_project:lrzsz is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Alrzsz_project%3Alrzsz Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# lrzsz
|
|
#
|
|
################################################################################
|
|
|
|
LRZSZ_VERSION = 0.12.20
|
|
LRZSZ_SITE = http://www.ohse.de/uwe/releases
|
|
LRZSZ_CONF_OPTS = --disable-timesync
|
|
LRZSZ_LICENSE = GPL-2.0+
|
|
LRZSZ_LICENSE_FILES = COPYING
|
|
LRZSZ_CPE_ID_VENDOR = lrzsz_project
|
|
LRZSZ_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
|
LRZSZ_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
|
|
|
|
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
|
|
$(TARGET_MAKE_ENV) $(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
|
|
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
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|