2011-06-06 19:06:26 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Qd < Formula
|
|
|
|
homepage 'http://crd.lbl.gov/~dhbailey/mpdist/'
|
2013-12-24 20:24:04 +00:00
|
|
|
url 'http://crd.lbl.gov/~dhbailey/mpdist/qd-2.3.14.tar.gz'
|
|
|
|
sha1 'bda1048feed8c3a52957e5e63592163aa0a15da4'
|
2011-06-06 19:06:26 +00:00
|
|
|
|
2013-12-24 20:24:04 +00:00
|
|
|
depends_on :fortran => :recommended
|
2013-06-24 03:29:13 +00:00
|
|
|
|
2011-06-06 19:06:26 +00:00
|
|
|
def install
|
2013-12-24 20:24:04 +00:00
|
|
|
args = ["--disable-dependency-tracking", "--enable-shared", "--prefix=#{prefix}"]
|
2014-03-06 20:40:26 +00:00
|
|
|
args << "--enable-fortran=no" if build.without? :fortran
|
2013-12-24 20:24:04 +00:00
|
|
|
system "./configure", *args
|
|
|
|
system "make"
|
|
|
|
system "make check"
|
2011-06-06 19:06:26 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|