diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2008-04-04 09:26:21 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2008-04-04 09:26:21 +0000 |
commit | 9ef137ec1080d55a133c6d1f37d8abade4411cdc (patch) | |
tree | c97f74c71f46da6cd040f01229946ce6fae47fd2 /x11-plugins | |
parent | Removed mail-client/ciphire-mail (diff) | |
download | gentoo-2-9ef137ec1080d55a133c6d1f37d8abade4411cdc.tar.gz gentoo-2-9ef137ec1080d55a133c6d1f37d8abade4411cdc.tar.bz2 gentoo-2-9ef137ec1080d55a133c6d1f37d8abade4411cdc.zip |
Version bump + QA fixes. Closes bug #207725.
(Portage version: 2.1.4.4)
Diffstat (limited to 'x11-plugins')
-rw-r--r-- | x11-plugins/cputnik/ChangeLog | 7 | ||||
-rw-r--r-- | x11-plugins/cputnik/cputnik-0.2.0.ebuild | 37 | ||||
-rw-r--r-- | x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch | 24 |
3 files changed, 67 insertions, 1 deletions
diff --git a/x11-plugins/cputnik/ChangeLog b/x11-plugins/cputnik/ChangeLog index fd15830f67ad..5e33eac1edf8 100644 --- a/x11-plugins/cputnik/ChangeLog +++ b/x11-plugins/cputnik/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-plugins/cputnik # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/cputnik/ChangeLog,v 1.6 2007/07/22 05:38:53 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/cputnik/ChangeLog,v 1.7 2008/04/04 09:26:21 s4t4n Exp $ + +*cputnik-0.2.0 (08 Apr 2008) + + 08 Apr 2008; Michele Noberasco <s4t4n@gentoo.org> cputnik-0.2.0.ebuild: + Version bump + QA fixes. Closes bug #207725. 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; cputnik-0.1.1.ebuild: Drop virtual/x11 references. diff --git a/x11-plugins/cputnik/cputnik-0.2.0.ebuild b/x11-plugins/cputnik/cputnik-0.2.0.ebuild new file mode 100644 index 000000000000..ef58089ed9c1 --- /dev/null +++ b/x11-plugins/cputnik/cputnik-0.2.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/cputnik/cputnik-0.2.0.ebuild,v 1.1 2008/04/04 09:26:21 s4t4n Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="cputnik is a simple cpu monitor dockapp." +HOMEPAGE="http://www.dockapps.org/file.php/id/273" +SRC_URI="http://www.dockapps.org/download.php/id/576/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S="${WORKDIR}/${P}/src" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" || die "Compilation failed" +} + +src_install() { + dobin cputnik + dodoc ../{AUTHORS,NEWS,README} +} diff --git a/x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch b/x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch new file mode 100644 index 000000000000..1eb1279b3bb3 --- /dev/null +++ b/x11-plugins/cputnik/files/cputnik-0.2.0-makefile.patch @@ -0,0 +1,24 @@ +--- Makefile.orig 2005-03-26 22:29:48.000000000 +0100 ++++ Makefile 2008-01-27 19:43:33.000000000 +0100 +@@ -1,15 +1,15 @@ + +-CFLAGS = -Wall -Os +-INCS = -I/usr/X11R6/include/X11 +-LIBS = -L/usr/X11R6/lib -lXpm -lXext -lX11 +-INSTALL_PREFIX = /usr/local ++CFLAGS += -Wall ++INCS = -I/usr/include/X11 ++LIBS = -L/usr/lib -lXpm -lXext -lX11 ++INSTALL_PREFIX = /usr + + + all: cputnik.c docklib.o master.h mask.h +- gcc $(CFLAGS) $(INCS) docklib.o cputnik.c -o cputnik $(LIBS) ++ $(CC) $(CFLAGS) $(INCS) docklib.o cputnik.c -o cputnik $(LDFLAGS) $(LIBS) + + docklib.o: docklib.c docklib.h +- gcc $(CFLAGS) $(INCS) -c docklib.c ++ $(CC) $(CFLAGS) $(INCS) -c docklib.c + + install: + cp ./cputnik $(INSTALL_PREFIX)/bin |