2011-05-24 17:24:38 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Grace < Formula
|
|
|
|
url 'ftp://plasma-gate.weizmann.ac.il/pub/grace/src/grace5/grace-5.1.22.tar.gz'
|
|
|
|
homepage 'http://plasma-gate.weizmann.ac.il/Grace/'
|
|
|
|
md5 '672356466f18fe59ed21a8fb44f9851d'
|
|
|
|
|
|
|
|
depends_on 'pdflib-lite'
|
|
|
|
depends_on 'jpeg'
|
|
|
|
depends_on 'fftw'
|
2012-02-04 18:54:46 +00:00
|
|
|
depends_on 'lesstif'
|
2011-05-24 17:24:38 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-04 18:54:46 +00:00
|
|
|
ENV.x11
|
|
|
|
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}", "--with-zlib",
|
|
|
|
"--enable-grace-home=#{prefix}"
|
|
|
|
|
|
|
|
system "make install"
|
2011-05-24 17:24:38 +00:00
|
|
|
end
|
|
|
|
end
|