aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorPiotr Usewicz2010-02-28 16:54:17 +0000
committerAdam Vandenberg2010-04-20 13:00:42 -0700
commitfc736822e8e15d0bc59672fae62123a56a6416ac (patch)
treeea01146ce614acd22f680310c530c3b4b5ebbea3 /Library
parent59c2fb4df9a4cc27bf9a7e2e6e420c7950ca8379 (diff)
downloadhomebrew-fc736822e8e15d0bc59672fae62123a56a6416ac.tar.bz2
RRDTool Formula
RRDtool is the OpenSource industry standard, high performance data logging and graphing system for time series data. Use it to write your custom monitoring shell scripts or create whole applications using its Perl, Python, Ruby, TCL or PHP bindings. Signed-off-by: Adam Vandenberg <flangy@gmail.com> Note: I disabled the Python bindings. Installing stuff into a Homebrew-built Python's site-packages can cause problems. I couldn't find a way to build the Python module without installing it, so hopefully some future user can correct this and submit a patch.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/rrdtool.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/rrdtool.rb b/Library/Formula/rrdtool.rb
new file mode 100644
index 000000000..178b8a0b9
--- /dev/null
+++ b/Library/Formula/rrdtool.rb
@@ -0,0 +1,27 @@
+require 'formula'
+
+class Rrdtool <Formula
+ url 'http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.4.2.tar.gz'
+ homepage 'http://oss.oetiker.ch/rrdtool/index.en.html'
+ md5 '9318d3b4016dd9dd9897f1eac7548032'
+
+ depends_on 'pkg-config'
+ depends_on 'glib'
+ depends_on 'gettext'
+ depends_on 'libxml2'
+ depends_on 'expat'
+ depends_on 'pango'
+ depends_on 'libpng'
+ depends_on 'intltool'
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--enable-perl-site-install", "--enable-ruby-site-install",
+ # Installing directly into Homebrew's Python's site-packages
+ # can break things, so we disable this for now.
+ # TODO: how to build Python support w/o installing it.
+ "--disable-python"
+ system "make install"
+ end
+end