61b2307139
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.
14 lines
426 B
Ruby
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
|