2010-05-22 20:29:59 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Maxima < Formula
|
2010-10-04 07:49:38 +00:00
|
|
|
url 'http://sourceforge.net/projects/maxima/files/Maxima-source/5.22.1-source/maxima-5.22.1.tar.gz'
|
2010-05-22 20:29:59 +00:00
|
|
|
homepage 'http://maxima.sourceforge.net/'
|
2010-10-04 07:49:38 +00:00
|
|
|
md5 '160ea8be39127d6636b934a85e407c9b'
|
2010-05-22 20:29:59 +00:00
|
|
|
|
|
|
|
depends_on 'gettext'
|
2010-12-11 19:34:47 +00:00
|
|
|
depends_on 'sbcl'
|
2010-05-22 20:29:59 +00:00
|
|
|
depends_on 'gnuplot'
|
|
|
|
depends_on 'rlwrap'
|
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.deparallelize
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
2010-10-04 07:50:33 +00:00
|
|
|
"--mandir=#{man}", "--infodir=#{info}",
|
2010-12-11 19:34:47 +00:00
|
|
|
"--enable-sbcl", "--enable-gettext"
|
2010-05-22 20:29:59 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|