aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gnuplot.rb15
1 files changed, 10 insertions, 5 deletions
diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb
index e4b3a112f..d947c3dde 100644
--- a/Library/Formula/gnuplot.rb
+++ b/Library/Formula/gnuplot.rb
@@ -1,14 +1,19 @@
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'
-
+ url 'http://downloads.sourceforge.net/project/gnuplot/gnuplot/4.4.0/gnuplot-4.4.0.tar.gz'
+ homepage 'www.gnuplot.info'
+ md5 'e708665bd512153ad5c35252fe499059'
+
depends_on 'readline'
+ depends_on 'gd'
def install
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--with-readline=#{prefix}/lib"
+ ENV.x11
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--with-readline=#{prefix}",
+ "--disable-wxwidgets"
system "make install"
end
end