homebrew-core/Formula/qd.rb
Mike McQuaid eefdf6b3f3 formulae: fix with/without usage.
Closes Homebrew/homebrew#27275.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-08 00:54:35 +00:00

18 lines
510 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" if build.without? :fortran
system "./configure", *args
system "make"
system "make check"
system "make install"
end
end