# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils MY_PV=${PV/_/-} MY_P="FileZilla_${MY_PV}" DESCRIPTION="FTP client with lots of useful features and an intuitive interface" HOMEPAGE="http://filezilla-project.org/" SRC_URI="mirror://sourceforge/${PN}/${MY_P}_src.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="" DEPEND=">=x11-libs/wxGTK-2.8.0 >=net-libs/gnutls-1.6.1 net-dns/libidn sys-devel/gettext" S=${WORKDIR}/${PN}-${MY_PV} src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/transfersocketpatch.patch } src_compile() { ./autogen.sh local myconf="--with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.8" econf ${myconf} || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR="${D}" install || die "make install failed" doicon src/interface/resources/${PN}.xpm || die "doicon failed" make_desktop_entry ${PN} "FileZilla" ${PN}.xpm dodoc AUTHORS ChangeLog NEWS }