aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gnuplot.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/gnuplot.rb')
-rw-r--r--Library/Formula/gnuplot.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb
new file mode 100644
index 000000000..708852782
--- /dev/null
+++ b/Library/Formula/gnuplot.rb
@@ -0,0 +1,14 @@
+require 'brewkit'
+
+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