This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

16
package/lrzsz/Config.in Normal file
View File

@@ -0,0 +1,16 @@
config BR2_PACKAGE_LRZSZ
bool "lrzsz"
# It could technically build in a static-only environment, but
# it unconditionally redefines the error() and error_at_line()
# functions, which clashes with the definition from
# uClibc. Since the autotools packaging dates back from 1998,
# lots of work is needed to fix it, and do some proper tests
# on the availability of such functions.
depends on !BR2_STATIC_LIBS
help
Portable and fast implementation of the X/Y/Zmodem protocols.
http://www.ohse.de/uwe/software/lrzsz.html
comment "lrzsz needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS

2
package/lrzsz/lrzsz.hash Normal file
View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 c28b36b14bddb014d9e9c97c52459852f97bd405f89113f30bee45ed92728ff1 lrzsz-0.12.20.tar.gz

35
package/lrzsz/lrzsz.mk Normal file
View File

@@ -0,0 +1,35 @@
################################################################################
#
# 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_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))