f3b4922f79
- Build shared library - Optionally deactivate the Fortran interface. Closes Homebrew/homebrew#25430. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
18 lines
511 B
Ruby
18 lines
511 B
Ruby
require 'formula'
|
|
|
|
class Qd < Formula
|
|
homepage 'http://crd.lbl.gov/~dhbailey/mpdist/'
|
|
url 'http://crd.lbl.gov/~dhbailey/mpdist/qd-2.3.14.tar.gz'
|
|
sha1 'bda1048feed8c3a52957e5e63592163aa0a15da4'
|
|
|
|
depends_on :fortran => :recommended
|
|
|
|
def install
|
|
args = ["--disable-dependency-tracking", "--enable-shared", "--prefix=#{prefix}"]
|
|
args << "--enable-fortran=no" unless build.with? :fortran
|
|
system "./configure", *args
|
|
system "make"
|
|
system "make check"
|
|
system "make install"
|
|
end
|
|
end
|