summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-01-17 16:15:14 +0000
committerSamuli Suominen <drac@gentoo.org>2008-01-17 16:15:14 +0000
commita504ead480c7775e404bc8b2965220a31b152e03 (patch)
tree2a98b8ea7e845b4c0d2300212b4e8ff5659d3bf7 /x11-plugins/wmbluecpu
parentAdd missing pkg-config dependency. Thanks Patrick in bug #206219. (diff)
downloadgentoo-2-a504ead480c7775e404bc8b2965220a31b152e03.tar.gz
gentoo-2-a504ead480c7775e404bc8b2965220a31b152e03.tar.bz2
gentoo-2-a504ead480c7775e404bc8b2965220a31b152e03.zip
Stop pre-stripping main binary. Respect CC and LDFLAGS. Keyword ~amd64. Change SRC_URI to gentoo mirrors and HOMEPAGE to something that distantly looks close enough.
(Portage version: 2.1.4)
Diffstat (limited to 'x11-plugins/wmbluecpu')
-rw-r--r--x11-plugins/wmbluecpu/ChangeLog9
-rw-r--r--x11-plugins/wmbluecpu/wmbluecpu-0.6.ebuild36
2 files changed, 28 insertions, 17 deletions
diff --git a/x11-plugins/wmbluecpu/ChangeLog b/x11-plugins/wmbluecpu/ChangeLog
index 2448783e439e..3482cd70587a 100644
--- a/x11-plugins/wmbluecpu/ChangeLog
+++ b/x11-plugins/wmbluecpu/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-plugins/wmbluecpu
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmbluecpu/ChangeLog,v 1.13 2007/07/22 05:21:10 dberkholz Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmbluecpu/ChangeLog,v 1.14 2008/01/17 16:15:14 drac Exp $
+
+ 17 Jan 2008; Samuli Suominen <drac@gentoo.org> wmbluecpu-0.6.ebuild:
+ Stop pre-stripping main binary. Respect CC and LDFLAGS. Keyword ~amd64.
+ Change SRC_URI to gentoo mirrors and HOMEPAGE to something that distantly
+ looks close enough.
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; wmbluecpu-0.6.ebuild:
Drop virtual/x11 references.
diff --git a/x11-plugins/wmbluecpu/wmbluecpu-0.6.ebuild b/x11-plugins/wmbluecpu/wmbluecpu-0.6.ebuild
index 4d39fc84cf7d..646a3e728af8 100644
--- a/x11-plugins/wmbluecpu/wmbluecpu-0.6.ebuild
+++ b/x11-plugins/wmbluecpu/wmbluecpu-0.6.ebuild
@@ -1,16 +1,17 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmbluecpu/wmbluecpu-0.6.ebuild,v 1.6 2007/07/22 05:21:10 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmbluecpu/wmbluecpu-0.6.ebuild,v 1.7 2008/01/17 16:15:14 drac Exp $
-IUSE=""
+inherit toolchain-funcs
-DESCRIPTION="A blue WMaker DockApp to see CPU usage."
-HOMEPAGE="http://sheepmakers.ath.cx/utils/wmbluecpu/"
-SRC_URI="http://litestep.boo.pl/files/${P}.tar.bz2"
+DESCRIPTION="a blue dockapp to monitor CPU usage."
+HOMEPAGE="http://misuceldestept.go.ro/wmbluecpu"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="ppc ~sparc x86"
+KEYWORDS="~amd64 ppc ~sparc x86"
+IUSE=""
RDEPEND="x11-libs/libX11
x11-libs/libXext
@@ -19,14 +20,19 @@ DEPEND="${RDEPEND}
x11-proto/xproto
x11-proto/xextproto"
-src_compile()
-{
- FLAGS=${CFLAGS} make -e || die "Compilation failed"
+src_unpack() {
+ unpack ${A}
+ sed -e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:' -e 's:-L/usr/X11R6/lib::' \
+ -e 's:strip $(PROG)::' -i "${S}"/Makefile
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \
+ || die "emake failed."
}
-src_install()
-{
- dobin wmbluecpu
- doman wmbluecpu.1
- dodoc ChangeLog TODO README THANKS AUTHORS
+src_install() {
+ dobin ${PN}
+ doman ${PN}.1
+ dodoc AUTHORS ChangeLog README THANKS
}