2010-02-19 00:14:01 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2008-2010 OpenWrt.org
|
2006-07-11 11:50:20 +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:=yafc
|
|
|
|
PKG_VERSION:=1.1.1
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_RELEASE:=2
|
2006-07-11 11:50:20 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
|
|
|
|
PKG_MD5SUM:=832d074183a36ee15b47553ed5962fce
|
2006-07-11 11:50:20 +00:00
|
|
|
|
2012-06-11 21:18:33 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2010-12-13 01:20:07 +00:00
|
|
|
PKG_REMOVE_FILES:=autogen.sh aclocal.m4
|
2010-02-19 00:14:01 +00:00
|
|
|
|
2006-07-11 11:50:20 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/yafc
|
2011-03-12 05:50:28 +00:00
|
|
|
SUBMENU:=File Transfer
|
2006-07-11 11:50:20 +00:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2006-10-30 13:51:50 +00:00
|
|
|
DEPENDS:=+libncurses +libreadline
|
2006-07-11 11:50:20 +00:00
|
|
|
TITLE:=Yafc is yet another ftp client.
|
2008-12-02 15:50:54 +00:00
|
|
|
URL:=http://yafc.sourceforge.net/
|
2006-07-11 11:50:20 +00:00
|
|
|
endef
|
|
|
|
|
2006-10-30 13:51:50 +00:00
|
|
|
# uses GNU configure
|
2012-02-07 12:57:39 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--with-socks=no \
|
|
|
|
--with-socks5=no \
|
|
|
|
--with-krb4=no \
|
|
|
|
--with-krb5=no \
|
|
|
|
--with-gssapi=no
|
|
|
|
|
2010-12-13 01:20:07 +00:00
|
|
|
CONFIGURE_VARS += \
|
|
|
|
bash_cv_func_sigsetjmp=missing
|
2006-10-30 13:51:50 +00:00
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR)
|
2006-07-11 11:50:20 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/yafc/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2006-10-30 13:51:50 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/src/yafc $(1)/usr/sbin/
|
2006-07-11 11:50:20 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,yafc))
|