diff options
Diffstat (limited to 'net-ftp/yafc/yafc-1.3.7-r1.ebuild')
-rw-r--r-- | net-ftp/yafc/yafc-1.3.7-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net-ftp/yafc/yafc-1.3.7-r1.ebuild b/net-ftp/yafc/yafc-1.3.7-r1.ebuild new file mode 100644 index 000000000000..7cf07d591fc7 --- /dev/null +++ b/net-ftp/yafc/yafc-1.3.7-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit bash-completion-r1 + +DESCRIPTION="Console ftp client with a lot of nifty features" +HOMEPAGE="http://www.yafc-ftp.com/" +SRC_URI="http://www.yafc-ftp.com/downloads/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" +IUSE="ipv6 kerberos readline socks5 ssh" + +RDEPEND=" + sys-libs/ncurses:= + dev-libs/libbsd + dev-libs/openssl:0= + kerberos? ( virtual/krb5 ) + readline? ( >=sys-libs/readline-6:0= ) + socks5? ( net-proxy/dante ) + ssh? ( net-libs/libssh ) +" +DEPEND="${RDEPEND}" + +DOCS=( BUGS NEWS README.md THANKS TODO ) + +src_configure() { + export ac_cv_ipv6=$(usex ipv6) + econf \ + $(use_with readline readline /usr) \ + $(use_with socks5 socks /usr) \ + $(use_with socks5 socks5 /usr) \ + $(use_with kerberos krb5) \ + $(use_with ssh) \ + --with-bash-completion="$(get_bashcompdir)" +} + +src_install() { + default + dodoc -r samples +} |