# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/kbandwidth/kbandwidth-1.0.4-r1.ebuild,v 1.2 2008/01/24 17:32:10 armin76 Exp $ inherit kde DESCRIPTION="Network monitoring Kicker-applet for KDE 3.x" HOMEPAGE="http://www.kde-apps.org/content/show.php?content=18939" SRC_URI="http://people.freenet.de/stealth/kbandwidth/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="alpha ~amd64 ~ppc ~sparc x86" IUSE="" RDEPEND="|| ( kde-base/kdebase kde-base/kicker )" need-kde 3.5 src_unpack() { kde_src_unpack # Fixes bug 202388. Upstream is dead so this hack will have to suffice. sed -i -e 's:p\.begin://p.begin:' "${S}"/src/fenster.cpp || die "sed failed" }