blob: 2b366a012682064d9f87dded7d92c20843129c5f (
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
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit gnome2
DESCRIPTION="Gnome based FTP Client"
SRC_URI="http://www.gftp.org/${P}.tar.bz2"
HOMEPAGE="http://www.gftp.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="gtk libressl ssl"
RDEPEND="
dev-libs/glib:2
sys-devel/gettext
sys-libs/ncurses:0=
sys-libs/readline:0
gtk? ( x11-libs/gtk+:2 )
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= ) )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
"
PATCHES=(
# Fix SIGSEGV for gftp_expand_path function
"${FILESDIR}/${P}-${PN}-expand-path-sigsegv.patch"
# https://bugzilla.gnome.org/show_bug.cgi?id=740785
"${FILESDIR}/${P}-desktop.patch"
)
src_configure() {
gnome2_src_configure \
$(use_enable gtk gtkport) \
$(use_enable ssl)
}
src_install() {
gnome2_src_install
dodoc docs/USERS-GUIDE
}
|