blob: 4ee1bb0827642032756bbbd6458190052e9a0404 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools bash-completion-r1
DESCRIPTION="Console ftp client with a lot of nifty features"
HOMEPAGE="https://github.com/sebastinas/yafc"
SRC_URI="https://github.com/sebastinas/yafc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
IUSE="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 )
"
BDEPEND="
virtual/pkgconfig
sys-devel/gettext
sys-apps/texinfo
"
DEPEND="${RDEPEND}"
DOCS=( BUGS NEWS README.md THANKS TODO )
PATCHES=( "${FILESDIR}/${P}-fix-autoreconf.patch" )
src_prepare() {
default
eautoreconf
}
src_configure() {
export ac_cv_ipv6=yes
local myeconfargs=(
$(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)"
)
econf "${myeconfargs[@]}"
}
src_install() {
default
dodoc -r samples
}
|