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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Mar 12 17:40:26 2007 UTC (7 years, 5 months ago) by lack
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Updated to use new gkrellm-plugin eclass, and cleaned up old versions
(Portage version: 2.1.2-r10)

1 # Copyright 1999-2005 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.2.ebuild,v 1.4 2005/03/25 16:53:51 kugelfang Exp $
4
5 DESCRIPTION="a GKrellM2 plugin which displays the top three processes"
6 SRC_URI="http://psychology.rutgers.edu/~zaimi/html/${PN}.${PV}.tgz"
7 HOMEPAGE="http://psychology.rutgers.edu/~zaimi/software.html"
8
9 SLOT="0"
10 LICENSE="GPL-2"
11 KEYWORDS="~x86 ~sparc ~alpha ppc"
12
13 IUSE=""
14
15 DEPEND="=app-admin/gkrellm-2*"
16
17 src_compile() {
18 # Unfortunately, the supplied Makefile won't work properly on
19 # non-x86, so we have to do this the hard way.
20 CONFIG="-DLINUX -DGKRELLM2 -fPIC `pkg-config gtk+-2.0 --cflags`"
21 LIBS="`pkg-config gtk+-2.0 --libs` -shared"
22 OBJS="top_three2.o gkrelltop2.o"
23 gcc -c $CONFIG $CFLAGS top_three.c -o top_three2.o || die
24 gcc -c $CONFIG $CFLAGS gkrelltop.c -o gkrelltop2.o || die
25 gcc $LIBS $CONFIG $CFLAGS -o gkrelltop2.so $OBJS || die
26 }
27
28 src_install() {
29 dodoc README
30 insinto /usr/lib/gkrellm2/plugins
31 doins gkrelltop2.so
32 }

  ViewVC Help
Powered by ViewVC 1.1.20