diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-01-15 08:11:47 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-01-15 08:11:47 +0000 |
commit | 075a3e7ae3b65a7a4b9f56103f4641c77af78b31 (patch) | |
tree | dabeec72beea10a8d548c0fa668dd25c3806b147 /x11-plugins/wmmemfree | |
parent | stable x86, bug 203132 (diff) | |
download | gentoo-2-075a3e7ae3b65a7a4b9f56103f4641c77af78b31.tar.gz gentoo-2-075a3e7ae3b65a7a4b9f56103f4641c77af78b31.tar.bz2 gentoo-2-075a3e7ae3b65a7a4b9f56103f4641c77af78b31.zip |
Stop pre-stripping wmmemfree binary during src_compile and keyword ~amd64.
(Portage version: 2.1.4)
Diffstat (limited to 'x11-plugins/wmmemfree')
-rw-r--r-- | x11-plugins/wmmemfree/ChangeLog | 7 | ||||
-rw-r--r-- | x11-plugins/wmmemfree/wmmemfree-0.7-r1.ebuild | 40 |
2 files changed, 23 insertions, 24 deletions
diff --git a/x11-plugins/wmmemfree/ChangeLog b/x11-plugins/wmmemfree/ChangeLog index 212382287329..8efbe0732a3f 100644 --- a/x11-plugins/wmmemfree/ChangeLog +++ b/x11-plugins/wmmemfree/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-plugins/wmmemfree -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmemfree/ChangeLog,v 1.11 2007/07/22 04:54:00 dberkholz Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmemfree/ChangeLog,v 1.12 2008/01/15 08:11:47 drac Exp $ + + 15 Jan 2008; Samuli Suominen <drac@gentoo.org> wmmemfree-0.7-r1.ebuild: + Stop pre-stripping wmmemfree binary during src_compile and keyword ~amd64. 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; wmmemfree-0.7-r1.ebuild: diff --git a/x11-plugins/wmmemfree/wmmemfree-0.7-r1.ebuild b/x11-plugins/wmmemfree/wmmemfree-0.7-r1.ebuild index 35d40d60b2f1..c9a6922902d6 100644 --- a/x11-plugins/wmmemfree/wmmemfree-0.7-r1.ebuild +++ b/x11-plugins/wmmemfree/wmmemfree-0.7-r1.ebuild @@ -1,17 +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/wmmemfree/wmmemfree-0.7-r1.ebuild,v 1.8 2007/07/22 04:54:00 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmemfree/wmmemfree-0.7-r1.ebuild,v 1.9 2008/01/15 08:11:47 drac Exp $ -inherit eutils +inherit eutils toolchain-funcs -IUSE="" -DESCRIPTION="A blue WMaker DockApp to see memory usage." -HOMEPAGE="http://misuceldestept.go.ro/wmmemfree/" -SRC_URI="ftp://ftp.ibiblio.org/pub/linux/X11/xutils/${P}.tar.bz2" +DESCRIPTION="a blue memory monitoring dockapp." +HOMEPAGE="http://misuceldestept.go.ro/wmmemfree" +SRC_URI="http://ibiblio.org/pub/linux/X11/xutils/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc ppc64 ~sparc" +KEYWORDS="~amd64 ppc ppc64 ~sparc x86" +IUSE="" RDEPEND="x11-libs/libX11 x11-libs/libXext @@ -19,23 +19,19 @@ RDEPEND="x11-libs/libX11 DEPEND="${RDEPEND} x11-proto/xextproto" -src_unpack() -{ +src_unpack() { unpack ${A} - cd ${S} - - # Patch to support both 2.4 and 2.6 kernels - epatch ${FILESDIR}/${P}-add-kernel-26-support.patch + cd "${S}" + epatch "${FILESDIR}"/${P}-add-kernel-26-support.patch } -src_compile() -{ - FLAGS=${CFLAGS} make -e || die "Compilation failed" +src_compile() { + emake CC="$(tc-getCC)" FLAGS="${CFLAGS}" \ + STRIP="true" || die "emake failed." } -src_install() -{ - dobin wmmemfree - doman wmmemfree.1 - dodoc ChangeLog TODO WMS README THANKS +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc ChangeLog README THANKS TODO WMS } |