2009-12-29 22:45:42 +00:00
|
|
|
#
|
2012-01-16 03:51:59 +00:00
|
|
|
# Copyright (C) 2008-2012 OpenWrt.org
|
2008-11-09 16:45:18 +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:=lftp
|
2012-05-27 00:08:39 +00:00
|
|
|
PKG_VERSION:=4.3.6
|
2012-08-04 18:42:05 +00:00
|
|
|
PKG_RELEASE:=2
|
2008-11-09 16:45:18 +00:00
|
|
|
|
2011-03-10 09:10:07 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2009-12-29 22:45:42 +00:00
|
|
|
PKG_SOURCE_URL:=http://lftp.cybermirror.org \
|
|
|
|
http://lftp.cybermirror.org/old
|
2012-05-27 00:08:39 +00:00
|
|
|
PKG_MD5SUM:=ffcdbaec5d1416cb6dd754efd43fa61a
|
2009-12-29 22:45:42 +00:00
|
|
|
|
|
|
|
PKG_INSTALL:=1
|
2008-11-09 16:45:18 +00:00
|
|
|
|
2012-08-03 21:35:41 +00:00
|
|
|
include $(INCLUDE_DIR)/uclibc++.mk
|
2008-11-09 16:45:18 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/lftp
|
2011-03-12 05:50:28 +00:00
|
|
|
SUBMENU:=File Transfer
|
2008-11-09 16:45:18 +00:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2012-08-03 21:35:41 +00:00
|
|
|
DEPENDS:=+libncurses +libopenssl +libreadline $(CXX_DEPENDS) +libexpat
|
2012-01-16 03:51:59 +00:00
|
|
|
TITLE:=Sophisticated file transfer program
|
2008-11-09 16:45:18 +00:00
|
|
|
URL:=http://lftp.yar.ru/
|
|
|
|
endef
|
|
|
|
|
2009-12-29 22:45:42 +00:00
|
|
|
define Package/lftp/description
|
|
|
|
lftp is sophisticated file transfer program with command line interface. It
|
|
|
|
supports FTP, HTTP, FISH, SFTP and FILE (local FS) protocols. GNU Readline
|
2011-03-04 02:17:46 +00:00
|
|
|
library is used for input. BitTorrent protocol is supported as built-in
|
|
|
|
`torrent' command.
|
2009-12-29 22:45:42 +00:00
|
|
|
endef
|
|
|
|
|
2008-11-09 16:45:18 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--without-libiconv-prefix \
|
|
|
|
--without-libintl-prefix \
|
|
|
|
--without-gnutls \
|
|
|
|
--without-libresolv \
|
|
|
|
--with-openssl="$(STAGING_DIR)/usr" \
|
2009-12-29 22:45:42 +00:00
|
|
|
--disable-static
|
2008-11-09 16:45:18 +00:00
|
|
|
|
|
|
|
CONFIGURE_VARS += \
|
2012-08-04 18:42:05 +00:00
|
|
|
LIBS="-lz -lutil -lcurses -ldl" \
|
2010-12-21 04:39:46 +00:00
|
|
|
i_cv_posix_fallocate_works=no
|
2008-11-09 16:45:18 +00:00
|
|
|
|
2009-12-29 22:45:42 +00:00
|
|
|
MAKE_VARS += \
|
2012-08-04 18:42:05 +00:00
|
|
|
LD="$(TARGET_CXX)"
|
2008-11-09 16:45:18 +00:00
|
|
|
|
2009-12-29 22:45:42 +00:00
|
|
|
define Package/lftp/install
|
2009-11-23 22:11:38 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2010-05-23 06:07:07 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lftp $(1)/usr/bin/
|
2009-12-29 22:45:42 +00:00
|
|
|
endef
|
2008-11-09 16:45:18 +00:00
|
|
|
|
|
|
|
$(eval $(call BuildPackage,lftp))
|