# this ebuild works with GTK+-2.0* as well as GTK+1.2* # basically I've only added the "--enable-gtk20" flag on line 27 # this should make gftp compile with gtk2 # original ebuild patched by Gabriele Giorgetti # Ah delete the crap above when you read it :) S=${WORKDIR}/${P} DESCRIPTION="Gnome based FTP Client" SRC_URI="http://www.gftp.org/${P}.tar.gz" HOMEPAGE="http://www.gftp.org" LICENSE="GPL-2" SLOT=0 RDEPEND="" DEPEND="=x11-libs/gtk+-1.2* =dev-libs/glib-1.2* >=x11-base/xfree-4.1.0 nls? ( sys-devel/gettext )" src_compile() { local myconf if [ -z "`use nls`" ] ; then myconf="--disable-nls" fi ./configure --host=${CHOST} --prefix=/usr --mandir=/usr/share/man --enable-gtk20 ${myconf} || die emake || die } src_install() { make prefix=${D}/usr mandir=${D}/usr/share/man install || die dodoc COPYING ChangeLog README* THANKS TODO dodoc docs/USERS-GUIDE }