/[gentoo-x86]/x11-plugins/gkrelltop/gkrelltop-2.2.4.ebuild
Gentoo

Contents of /x11-plugins/gkrelltop/gkrelltop-2.2.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Tue Jun 12 21:23:19 2007 UTC (7 years, 1 month ago) by lack
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Old version cleanup
(Portage version: 2.1.2.8)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrelltop/gkrelltop-2.2.4.ebuild,v 1.10 2007/03/12 17:40:26 lack Exp $
4
5 inherit gkrellm-plugin
6
7 DESCRIPTION="a GKrellM2 plugin which displays the top three processes"
8 SRC_URI="http://psychology.rutgers.edu/~zaimi/html/${PN}/${PN}.${PV}.tgz"
9 HOMEPAGE="http://psychology.rutgers.edu/~zaimi/software.html"
10
11 SLOT="0"
12 LICENSE="GPL-2"
13 KEYWORDS="alpha amd64 ppc sparc x86"
14
15 IUSE=""
16
17 PLUGIN_SO=gkrelltop2.so
18
19 src_compile() {
20 # Unfortunately, the supplied Makefile won't work properly on
21 # non-x86, so we have to do this the hard way.
22 CONFIG="-DLINUX -DGKRELLM2 -fPIC `pkg-config gtk+-2.0 --cflags`"
23 LIBS="`pkg-config gtk+-2.0 --libs` -shared"
24 OBJS="top_three2.o gkrelltop2.o"
25 gcc -c $CONFIG $CFLAGS top_three.c -o top_three2.o || die
26 gcc -c $CONFIG $CFLAGS gkrelltop.c -o gkrelltop2.o || die
27 gcc $LIBS $CONFIG $CFLAGS -o gkrelltop2.so $OBJS || die
28 }

  ViewVC Help
Powered by ViewVC 1.1.20