/[gentoo-x86]/x11-plugins/wmmemfree/wmmemfree-0.7-r1.ebuild
Gentoo

Diff of /x11-plugins/wmmemfree/wmmemfree-0.7-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.8 Revision 1.9
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmemfree/Attic/wmmemfree-0.7-r1.ebuild,v 1.8 2007/07/22 04:54:00 dberkholz Exp $ 3# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmemfree/Attic/wmmemfree-0.7-r1.ebuild,v 1.9 2008/01/15 08:11:47 drac Exp $
4 4
5inherit eutils 5inherit eutils toolchain-funcs
6 6
7IUSE="" 7DESCRIPTION="a blue memory monitoring dockapp."
8DESCRIPTION="A blue WMaker DockApp to see memory usage."
9HOMEPAGE="http://misuceldestept.go.ro/wmmemfree/" 8HOMEPAGE="http://misuceldestept.go.ro/wmmemfree"
10SRC_URI="ftp://ftp.ibiblio.org/pub/linux/X11/xutils/${P}.tar.bz2" 9SRC_URI="http://ibiblio.org/pub/linux/X11/xutils/${P}.tar.bz2"
11 10
12LICENSE="GPL-2" 11LICENSE="GPL-2"
13SLOT="0" 12SLOT="0"
14KEYWORDS="x86 ppc ppc64 ~sparc" 13KEYWORDS="~amd64 ppc ppc64 ~sparc x86"
14IUSE=""
15 15
16RDEPEND="x11-libs/libX11 16RDEPEND="x11-libs/libX11
17 x11-libs/libXext 17 x11-libs/libXext
18 x11-libs/libXpm" 18 x11-libs/libXpm"
19DEPEND="${RDEPEND} 19DEPEND="${RDEPEND}
20 x11-proto/xextproto" 20 x11-proto/xextproto"
21 21
22src_unpack() 22src_unpack() {
23{
24 unpack ${A} 23 unpack ${A}
25 cd ${S} 24 cd "${S}"
26
27 # Patch to support both 2.4 and 2.6 kernels
28 epatch ${FILESDIR}/${P}-add-kernel-26-support.patch 25 epatch "${FILESDIR}"/${P}-add-kernel-26-support.patch
29} 26}
30 27
31src_compile() 28src_compile() {
32{ 29 emake CC="$(tc-getCC)" FLAGS="${CFLAGS}" \
33 FLAGS=${CFLAGS} make -e || die "Compilation failed" 30 STRIP="true" || die "emake failed."
34} 31}
35 32
36src_install() 33src_install() {
37{ 34 dobin ${PN}
38 dobin wmmemfree 35 doman ${PN}.1
39 doman wmmemfree.1
40 dodoc ChangeLog TODO WMS README THANKS 36 dodoc ChangeLog README THANKS TODO WMS
41} 37}

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20