You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-ftp/gftp/gftp-2.0.19-r1.ebuild

44 lines
1.0 KiB

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/gftp/gftp-2.0.19-r1.ebuild,v 1.7 2011/03/27 12:34:48 nirbheek Exp $
EAPI="1"
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 ~x86-fbsd"
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}"
# Fix SIGSEGV for gftp_expand_path function
epatch "${FILESDIR}/${P}-${PN}-expand-path-sigsegv.patch"
}
src_compile() {
econf $(use_enable gtk gtkport) $(use_enable ssl) || die "configure failed"
emake || die "make failed"
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
dodoc ChangeLog* README* THANKS TODO docs/USERS-GUIDE || die "dodoc failed"
}