blob: 08b5d2a96ae738e89d8aba4e1e3c2d54e20405b3 (
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
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.0.3.ebuild,v 1.1 2006/07/16 21:41:01 tantive Exp $
DESCRIPTION="Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids"
HOMEPAGE="http://ganglia.sourceforge.net/"
SRC_URI="mirror://sourceforge/ganglia/ganglia-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE=""
DEPEND="net-analyzer/rrdtool"
RDEPEND="${DEPEND}"
src_compile() {
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--enable-gexec \
--with-gmetad || die "./configure failed"
emake || die
}
src_install() {
einstall || die
insinto /etc
#doins gmond/gmond.conf
doins gmetad/gmetad.conf
doman mans/{gmetad.1,gmetric.1,gmond.1,gstat.1}
doman gmond/gmond.conf.5
dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
keepdir /var/lib/ganglia/rrds
fowners nobody:nobody /var/lib/ganglia/rrds
exeinto /etc/init.d
newexe ${FILESDIR}/gmond.rc gmond
newexe ${FILESDIR}/gmetad.rc gmetad
}
|