aboutsummaryrefslogtreecommitdiff
blob: 478dc802afa728a5e534a449849b9e1b4694da45 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="NodeMon is a distributed visualization tool for monitoring system
resource utilization."
HOMEPAGE="http://nodemon.sourceforge.net/"
SRC_URI="http://downloads.sourceforge.net/nodemon/nodemon-${PV}.tar.gz"

LICENSE="NOSA"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gtk pbs"

RDEPEND="|| ( >=dev-cpp/growler-arch-0.3.7.1 dev-cpp/growler-latest )
	gtk? ( >=x11-libs/gtkglext-1.0 >=x11-libs/gtk+-2 )"

DEPEND="${RDEPEND}"

src_compile() {
	econf \
		$(use_enable gtk) \
		$(use_with pbs) \
		|| die "could not configure"
	emake || die "make failed"
}

src_install() {
	emake DESTDIR="${D}" install || die "install failed"
	dodoc README NEWS AUTHORS NOSA ChangeLog
}