# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-giFT/gkrellm-giFT-0.2.2.ebuild,v 1.7 2005/11/01 14:32:39 nelchael Exp $ inherit eutils MY_PN=${PN/FT/ft} MY_P=${MY_PN}-${PV} DESCRIPTION="GKrellM2 plugin to monitor giFT transfers" SRC_URI="ftp://ftp.code-monkey.de/pub/${MY_PN}/${P}.tar.gz" HOMEPAGE="http://code-monkey.de/?gkrellm-gift" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~amd64" IUSE="" DEPEND=">=app-admin/gkrellm-2.1.23 >=net-p2p/gift-0.11.3" src_unpack() { unpack ${A} if has_version ">=x11-libs/gtk+-2.4" then epatch ${FILESDIR}/${MY_P}.patch fi } src_install () { make DESTDIR=${D} install || die dodoc AUTHORS ChangeLog FAQ README }