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

Contents of /x11-plugins/wmmemfree/wmmemfree-0.7-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Sep 20 09:01:56 2010 UTC (3 years, 11 months ago) by s4t4n
Branch: MAIN
Changes since 1.5: +8 -5 lines
Honour Gentoo LDFLAGS, see bug #337927.
Wiped out older revision.
(Portage version: 2.1.8.3/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmemfree/wmmemfree-0.7-r2.ebuild,v 1.5 2008/11/26 00:04:00 tcunha Exp $
4
5 EAPI=3
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="a blue memory monitoring dockapp."
10 HOMEPAGE="http://misuceldestept.go.ro/wmmemfree"
11 SRC_URI="http://ibiblio.org/pub/linux/X11/xutils/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ppc ppc64 sparc x86"
16 IUSE=""
17
18 RDEPEND="x11-libs/libX11
19 x11-libs/libXext
20 x11-libs/libXpm"
21 DEPEND="${RDEPEND}
22 x11-proto/xextproto"
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${P}-add-kernel-26-support.patch
26 epatch "${FILESDIR}"/${P}-fix-crash-when-there-is-no-swap.patch
27
28 #Honour Gentoo LDFLAGS, see bug #337927.
29 sed -e "s/-o \$(PROG)/\$(LDFLAGS) -o \$(PROG)/" -i Makefile
30 }
31
32 src_compile() {
33 emake CC="$(tc-getCC)" FLAGS="${CFLAGS}" \
34 STRIP="true" || die "emake failed."
35 }
36
37 src_install() {
38 dobin ${PN}
39 doman ${PN}.1
40 dodoc ChangeLog README THANKS TODO WMS
41 }

  ViewVC Help
Powered by ViewVC 1.1.20