1 # Copyright (C) 2006 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_MD5SUM
:=b5ce6a74abc9b9eb2af94dffdfd372a4
15 PKG_SOURCE_URL
:=http
://www.ohse.de
/uwe
/releases
/
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
21 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=X
,Y and Z-modem protocols
27 DESCRIPTION
:=Transfer files in your login sessions.
\\\
28 Very leightweight and straight forward.
\\\
29 You just need a terminal client that can do
\\\
30 either X
, Y or Z-modem file transfers.
\\\
31 URL
:=http
://www.ohse.de
/uwe
/software
/lrzsz.html
34 define Build
/Configure
35 $(call Build
/Configure
/Default
,--without-libiconv-prefix \
36 --without-libintl-prefix
)
40 rm -rf
$(PKG_INSTALL_DIR
)
41 mkdir
-p
$(PKG_INSTALL_DIR
)
42 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
43 $(TARGET_CONFIGURE_OPTS
) \
44 DESTDIR
="$(PKG_INSTALL_DIR)" \
48 define Package
/lrzsz
/install
49 install -d
-m0755
$(1)/usr
/bin
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/lrz
$(1)/usr
/bin
/
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/lsz
$(1)/usr
/bin
/
60 $(eval
$(call BuildPackage
,lrzsz
))