# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-p2p/gtk-gnutella/gtk-gnutella-0.91.1.ebuild,v 1.11 2004/07/15 03:50:16 agriffis Exp $ IUSE="gnome" DESCRIPTION="A GTK+ Gnutella client" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" RESTRICT="nomirror" HOMEPAGE="http://gtk-gnutella.sourceforge.net/" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ppc sparc" DEPEND="=x11-libs/gtk+-1.2*" src_compile() { ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man || die emake || die } src_install () { make DESTDIR=${D} install || die dodoc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO || die if use gnome; then insinto /usr/share/gnome/apps/Internet doins ${FILESDIR}/gtk-gnutella.desktop || die fi }