blob: 0906ada1e0e749aa12da7373ced0eecdff94cab3 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/gftp/gftp-2.0.18-r4.ebuild,v 1.1 2006/01/22 05:44:32 compnerd Exp $
inherit eutils
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"
IUSE="gtk ssl rcc"
RDEPEND=">=dev-libs/glib-2
sys-devel/gettext
sys-libs/ncurses
sys-libs/readline
gtk? ( >=x11-libs/gtk+-2 )
ssl? ( dev-libs/openssl )
rcc? ( app-i18n/librcc )"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.9"
src_unpack() {
unpack ${A}
cd ${S}
# patch to allow fetching of ssh2 files
# that are read-only, see bug #91269 and upstream link.
epatch ${FILESDIR}/${P}-ssh2-read.patch
#SDS
epatch ${FILESDIR}/${P}-fix_gtk1.patch
if use ssl; then
epatch ${FILESDIR}/gftp-ds-rcc.patch
aclocal
automake
autoconf
fi
#EDS
}
src_compile() {
econf $(use_enable gtk gtkport) $(use_enable ssl) || die "configure failed"
emake || die "make failed"
}
src_install() {
make DESTDIR=${D} install || die "install failed"
dodoc ChangeLog README* THANKS TODO docs/USERS-GUIDE
}
|