diff options
| author | Adam Vandenberg | 2010-05-20 10:41:02 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-05-20 10:41:02 -0700 |
| commit | aad3c1c8b107d83c58e73a7fb8659aec7ee692c2 (patch) | |
| tree | 9ec617714db128c915dad4c680e590aa3ab68f28 /Library/Formula | |
| parent | db134b11510bd8e432f406ff98c37c075f2672c6 (diff) | |
| download | homebrew-aad3c1c8b107d83c58e73a7fb8659aec7ee692c2.tar.bz2 | |
Ganglia 3.1.7
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ganglia.rb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Library/Formula/ganglia.rb b/Library/Formula/ganglia.rb new file mode 100644 index 000000000..55dfa78fd --- /dev/null +++ b/Library/Formula/ganglia.rb @@ -0,0 +1,38 @@ +require 'formula' + +class Ganglia <Formula + url 'http://downloads.sourceforge.net/project/ganglia/ganglia%20monitoring%20core/3.1.7/ganglia-3.1.7.tar.gz' + homepage 'http://ganglia.sourceforge.net/' + md5 '6aa5e2109c2cc8007a6def0799cf1b4c' + + def patches + # "kvm.h" was removed in OS X 10.5 + # Seems to build without the include, though. + DATA + end + + def install + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--disable-python", + "--prefix=#{prefix}", + "--sysconfdir=#{etc}" + system "make install" + man1.install Dir['mans/*'] + end +end + + +__END__ +diff --git a/libmetrics/darwin/metrics.c b/libmetrics/darwin/metrics.c +index 498ed8f..66f9b2b 100644 +--- a/libmetrics/darwin/metrics.c ++++ b/libmetrics/darwin/metrics.c +@@ -11,7 +11,7 @@ + + #include <stdlib.h> + #include "interface.h" +-#include <kvm.h> ++// #include <kvm.h> + #include <sys/sysctl.h> + + #include <mach/mach_init.h> |
