summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@gentoo.org>2008-01-05 01:34:19 +0000
committerJustin Bronder <jsbronder@gentoo.org>2008-01-05 01:34:19 +0000
commit83301ed79f1c3ec6ae07c83e76d04502273ed617 (patch)
treefc867bd96d418175d45422da3ed7ae00df2bdb63 /sys-cluster/ganglia/ganglia-3.0.6.ebuild
parentUnmask taskcoach. (diff)
downloadgentoo-2-83301ed79f1c3ec6ae07c83e76d04502273ed617.tar.gz
gentoo-2-83301ed79f1c3ec6ae07c83e76d04502273ed617.tar.bz2
gentoo-2-83301ed79f1c3ec6ae07c83e76d04502273ed617.zip
version bump (bug #172206)
(Portage version: 2.1.3.19)
Diffstat (limited to 'sys-cluster/ganglia/ganglia-3.0.6.ebuild')
-rw-r--r--sys-cluster/ganglia/ganglia-3.0.6.ebuild58
1 files changed, 58 insertions, 0 deletions
diff --git a/sys-cluster/ganglia/ganglia-3.0.6.ebuild b/sys-cluster/ganglia/ganglia-3.0.6.ebuild
new file mode 100644
index 000000000000..fbb3f9c1ec0c
--- /dev/null
+++ b/sys-cluster/ganglia/ganglia-3.0.6.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ganglia/ganglia-3.0.6.ebuild,v 1.1 2008/01/05 01:34:19 jsbronder 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/${P}.tar.gz"
+LICENSE="BSD"
+
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="test minimal"
+
+DEPEND="!minimal? ( net-analyzer/rrdtool )
+ test? ( >=dev-libs/check-0.8.2 )"
+RDEPEND="!minimal? ( net-analyzer/rrdtool )"
+
+src_compile() {
+ econf \
+ --enable-gexec \
+ $(use_with !minimal gmetad) || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ insinto /etc
+ doman mans/{gmetric.1,gmond.1,gstat.1}
+ doman gmond/gmond.conf.5
+ dodoc AUTHORS ChangeLog INSTALL NEWS README
+ newinitd "${FILESDIR}"/gmond.rc gmond
+
+ if ! use minimal; then
+ doins gmetad/gmetad.conf
+ doman mans/gmetad.1
+ keepdir /var/lib/ganglia/rrds
+ fowners nobody:nobody /var/lib/ganglia/rrds
+ newinitd "${FILESDIR}"/gmetad.rc gmetad
+ insinto /usr/share/${PN}/
+ doins -r web
+ fi
+}
+
+pkg_postinst() {
+ elog
+ elog "This package doesn't include a configuration file for gmond."
+ elog "You could generate a default template by running:"
+ elog " /usr/sbin/gmond -t > /etc/gmond.conf"
+ elog "and customize it from there or provide your own."
+
+ if ! use minimal; then
+ elog
+ elog "All the files necessary for the PHP frontend have been installed"
+ elog "into ${ROOT}usr/share/${PN}/web/."
+ fi
+}