summaryrefslogtreecommitdiff
blob: f642b6cd404c293690f6067b0e9863ea6b47d744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsysmon/wmsysmon-0.7.6-r1.ebuild,v 1.11 2004/03/19 10:04:28 aliz Exp $

inherit eutils

S=${WORKDIR}/${P}
DESCRIPTION="WMaker DockUp to monitor: Memory usage, Swap usage, I/O
throughput, system uptime, hardware interrupts, paging and swap activity."
SRC_URI="http://www.gnugeneration.com/software/wmsysmon/src/${P}.tar.gz"
HOMEPAGE="http://www.gnugeneration.com/software/wmsysmon/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc alpha amd64"

DEPEND="virtual/x11"

src_unpack() {
	unpack ${A}
	cd ${S}/src
	# bug #27499
	epatch ${FILESDIR}/fanta.diff
	cd ${S}
}

src_compile() {
	sed -i 's/^CFLAGS/#CFLAGS/' src/Makefile
	make -C src
}

src_install () {
	dobin src/wmsysmon
	dodoc COPYING ChangeLog FAQ README
}