homebrew-core/Formula/rrdtool.rb
Piotr Usewicz e25ecfcd33 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.
2010-04-20 13:00:42 -07:00

27 lines
915 B
Ruby

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