summaryrefslogtreecommitdiff
blob: ee197545c6424e92a4aaee57c4988be32a55ab65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/merlin-cpufire/merlin-cpufire-0.1.0-r1.ebuild,v 1.7 2004/05/29 03:46:59 pvdabeel Exp $

DESCRIPTION="Gnome applet that displays CPU usage as burning fire"
HOMEPAGE="http://nitric.com/freeware"
SRC_URI="ftp://ftp.ibiblio.org/pub/packages/desktops/gnome/sources/merlin-cpufire/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 sparc ppc"

DEPEND="gnome-base/gnome-core
	<gnome-base/libgtop-2"

src_compile() {
	mv Makefile Makefile~
	# include libgtop in cppFlags
	sed <Makefile~ >Makefile -e 's|cppFlags = ${shell gnome-config --cflags glib gnome gnomeui gnorba}|cppFlags = ${shell gnome-config --cflags glib gnome gnomeui gnorba libgtop}|'
	make prefix=${D}/usr etcdir=${D}/etc || die
}

src_install () {
	make prefix=${D}/usr etcdir=${D}/etc install
}