2006-10-30 13:51:50 +00:00
|
|
|
#
|
2011-09-13 22:56:28 +00:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
2006-08-03 14:02:11 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=lrzsz
|
|
|
|
PKG_VERSION:=0.12.20
|
2011-09-13 22:56:28 +00:00
|
|
|
PKG_RELEASE:=2
|
2006-08-03 14:02:11 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_SOURCE_URL:=http://www.ohse.de/uwe/releases/
|
|
|
|
PKG_MD5SUM:=b5ce6a74abc9b9eb2af94dffdfd372a4
|
|
|
|
|
2010-02-18 13:10:21 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
2006-08-03 14:02:11 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/lrzsz
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
TITLE:=X,Y and Z-modem protocols
|
|
|
|
URL:=http://www.ohse.de/uwe/software/lrzsz.html
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/lrzsz/description
|
|
|
|
Transfer files in your login sessions.
|
|
|
|
Very leightweight and straight forward.
|
2011-09-13 22:56:28 +00:00
|
|
|
You just need a terminal client that can do
|
2007-10-14 04:32:56 +00:00
|
|
|
either X, Y or Z-modem file transfers.
|
|
|
|
endef
|
|
|
|
|
2006-10-30 13:51:50 +00:00
|
|
|
# uses GNU configure
|
2006-08-03 14:02:11 +00:00
|
|
|
|
2010-02-18 13:10:21 +00:00
|
|
|
define Package/lrzsz/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2007-12-09 18:59:01 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lrz $(1)/usr/bin/
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lsz $(1)/usr/bin/
|
2006-08-03 14:02:11 +00:00
|
|
|
(cd $(1)/usr/bin; \
|
|
|
|
ln -fs lrz lrx; \
|
|
|
|
ln -fs lrz lrb; \
|
2011-09-13 17:29:19 +00:00
|
|
|
ln -fs lrz rz; \
|
|
|
|
ln -fs lrz rx; \
|
|
|
|
ln -fs lrz rb; \
|
2006-08-03 14:02:11 +00:00
|
|
|
ln -fs lsz lsx; \
|
|
|
|
ln -fs lsz lsb; \
|
2011-09-13 17:29:19 +00:00
|
|
|
ln -fs lsz sz; \
|
|
|
|
ln -fs lsz sx; \
|
|
|
|
ln -fs lsz sb; \
|
2006-08-03 14:02:11 +00:00
|
|
|
);
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,lrzsz))
|