aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gnuplot.rb
diff options
context:
space:
mode:
authorMiikka Koskinen2009-09-20 19:51:35 +0300
committerMax Howell2009-09-22 19:56:22 +0100
commit193bfc698466c148a18bfbcaffa5b9fa512910d0 (patch)
treeb05c2ad4d6d750f9a5a89c0013ffa3ec6c2edb19 /Library/Formula/gnuplot.rb
parent243ab49a12ba09650ef8fdf7cc1f726c2df08766 (diff)
downloadhomebrew-193bfc698466c148a18bfbcaffa5b9fa512910d0.tar.bz2
Gnuplot formula
Gnuplot is a portable command-line driven interactive data and function plotting utility.
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