From 8e35fce2862bd76346b9d7ad2ab2e8ced93d95e6 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 1 Jul 2010 09:20:32 -0700 Subject: Update rrdtool to 1.4.3. Also adds a (failing) test for the Ruby support. --- Library/Formula/rrdtool.rb | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/rrdtool.rb b/Library/Formula/rrdtool.rb index 178b8a0b9..b9af06c40 100644 --- a/Library/Formula/rrdtool.rb +++ b/Library/Formula/rrdtool.rb @@ -1,9 +1,9 @@ require 'formula' class Rrdtool :optional + def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", - "--enable-perl-site-install", "--enable-ruby-site-install", + "--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 + + def test + # Test ruby support; currently fails. + system "ruby", "-e", "require 'RRD'" + end end -- cgit v1.2.3