summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2005-07-28 23:20:38 +0000
committerMichael Imhof <tantive@gentoo.org>2005-07-28 23:20:38 +0000
commit616f6baeb84ec4b752bd0c4f2232dbc77db049e8 (patch)
tree432fb110c53c5063ebc4d8caa96cafd4d39d9aa8 /sys-cluster/ganglia/ganglia-2.5.7.ebuild
parentNew version: 2.10.3 (diff)
downloadgentoo-2-616f6baeb84ec4b752bd0c4f2232dbc77db049e8.tar.gz
gentoo-2-616f6baeb84ec4b752bd0c4f2232dbc77db049e8.tar.bz2
gentoo-2-616f6baeb84ec4b752bd0c4f2232dbc77db049e8.zip
Adapted the last old ebuild.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-cluster/ganglia/ganglia-2.5.7.ebuild')
-rw-r--r--sys-cluster/ganglia/ganglia-2.5.7.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/sys-cluster/ganglia/ganglia-2.5.7.ebuild b/sys-cluster/ganglia/ganglia-2.5.7.ebuild
new file mode 100644
index 000000000000..f479a9d830d9
--- /dev/null
+++ b/sys-cluster/ganglia/ganglia-2.5.7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-2.5.7.ebuild,v 1.1 2005/07/28 23:20:38 tantive Exp $
+
+MY_P=ganglia-monitor-core-${PV}
+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/${MY_P}.tar.gz"
+LICENSE="BSD"
+
+SLOT="0"
+KEYWORDS="x86 ~ppc ~amd64"
+IUSE=""
+
+DEPEND="net-analyzer/rrdtool"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ cd ${S}
+ ./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}
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
+ dodir /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
+
+}