Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 333989
Collapse All | Expand All

(-)a/gkrelltop-2.2.11.ebuild (-1 / +8 lines)
Lines 3-9 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrelltop/gkrelltop-2.2.11.ebuild,v 1.7 2009/09/05 22:35:12 maekke Exp $
3
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrelltop/gkrelltop-2.2.11.ebuild,v 1.7 2009/09/05 22:35:12 maekke Exp $
4
4
5
EAPI=2
5
EAPI=2
6
inherit gkrellm-plugin
6
inherit gkrellm-plugin toolchain-funcs
7
7
8
DESCRIPTION="a GKrellM2 plugin which displays the top three processes"
8
DESCRIPTION="a GKrellM2 plugin which displays the top three processes"
9
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz"
9
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz"
Lines 24-29 Link Here
24
	=dev-libs/glib-2*
24
	=dev-libs/glib-2*
25
	X? ( =x11-libs/gtk+-2* )"
25
	X? ( =x11-libs/gtk+-2* )"
26
26
27
src_prepare() {
28
	sed -i \
29
		-e "s:/usr/bin/gcc:$(tc-getCC) \$(CFLAGS):" \
30
		-e 's/-shared/$(LDFLAGS) &/' \
31
		Makefile || die
32
}
33
27
src_compile() {
34
src_compile() {
28
	use X || TARGET="server"
35
	use X || TARGET="server"
29
	emake ${TARGET}
36
	emake ${TARGET}

Return to bug 333989