From 075a3e7ae3b65a7a4b9f56103f4641c77af78b31 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Tue, 15 Jan 2008 08:11:47 +0000 Subject: Stop pre-stripping wmmemfree binary during src_compile and keyword ~amd64. (Portage version: 2.1.4) --- x11-plugins/wmmemfree/ChangeLog | 7 +++-- x11-plugins/wmmemfree/wmmemfree-0.7-r1.ebuild | 40 ++++++++++++--------------- 2 files changed, 23 insertions(+), 24 deletions(-) (limited to 'x11-plugins/wmmemfree') 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 wmmemfree-0.7-r1.ebuild: + Stop pre-stripping wmmemfree binary during src_compile and keyword ~amd64. 22 Jul 2007; Donnie Berkholz ; 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 } -- cgit v1.2.3-65-gdbad