diff options
Diffstat (limited to 'net-ftp/gftp/gftp-2.0.18-r5.ebuild')
-rw-r--r-- | net-ftp/gftp/gftp-2.0.18-r5.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/net-ftp/gftp/gftp-2.0.18-r5.ebuild b/net-ftp/gftp/gftp-2.0.18-r5.ebuild new file mode 100644 index 000000000000..1d1e2b524d24 --- /dev/null +++ b/net-ftp/gftp/gftp-2.0.18-r5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 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-r5.ebuild,v 1.1 2007/01/14 20:05:42 leio 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" + +RDEPEND=">=dev-libs/glib-2 + sys-devel/gettext + sys-libs/ncurses + sys-libs/readline + gtk? ( >=x11-libs/gtk+-2 ) + ssl? ( dev-libs/openssl )" +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" + # patch to allow for wildcard SSL certificates + epatch "${FILESDIR}/${P}-ssl-wildcardcert.patch" + # patch to not crash on IPv6 enabled hosts or on IPv4 transfer with the "ignore PASV address" function + epatch "${FILESDIR}/${P}-ipv6.patch" + +} + +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 +} |