homebrew-core/Formula/gnuplot.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

14 lines
426 B
Ruby

require 'formula'
class Gnuplot <Formula
@url='http://downloads.sourceforge.net/project/gnuplot/gnuplot/4.2.6/gnuplot-4.2.6.tar.gz'
@homepage='http://www.gnuplot.info/'
@md5='c10468d74030e8bed0fd6865a45cf1fd'
depends_on 'readline'
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-readline=#{prefix}/lib"
system "make install"
end
end