aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominique Orban2013-12-24 15:24:04 -0500
committerMisty De Meo2013-12-24 14:05:08 -0800
commit065568aef7467005a10e1ffbf89c9666e24d1118 (patch)
tree3c78df90a5b286c4744746e094c2ba9ae6b1a491 /Library
parentb196af5fa10ef36767dd859c1274a2335aaadb7d (diff)
downloadhomebrew-065568aef7467005a10e1ffbf89c9666e24d1118.tar.bz2
qd 2.3.14
- Build shared library - Optionally deactivate the Fortran interface. Closes #25430. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/qd.rb13
1 files changed, 8 insertions, 5 deletions
diff --git a/Library/Formula/qd.rb b/Library/Formula/qd.rb
index 3e1f07ac0..885f77ca0 100644
--- a/Library/Formula/qd.rb
+++ b/Library/Formula/qd.rb
@@ -2,14 +2,17 @@ require 'formula'
class Qd < Formula
homepage 'http://crd.lbl.gov/~dhbailey/mpdist/'
- url 'http://crd.lbl.gov/~dhbailey/mpdist/qd-2.3.13.tar.gz'
- sha1 'f46d63eb5e21172a6f66884b4ddbb352b327a9ca'
+ url 'http://crd.lbl.gov/~dhbailey/mpdist/qd-2.3.14.tar.gz'
+ sha1 'bda1048feed8c3a52957e5e63592163aa0a15da4'
- depends_on :fortran
+ depends_on :fortran => :recommended
def install
- system "./configure", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
+ 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