aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorFernando Mut2014-03-05 13:23:57 -0300
committerAdam Vandenberg2014-05-13 20:32:40 -0700
commitf740d7114110012e410b8aa08de9cc5f9ae8e56d (patch)
treec46afc3071aa13981a88e632bb10db0d56e5598d /Library
parentf58374f9a1249ac84f17af205a81bd0dc7e6f1ac (diff)
downloadhomebrew-f740d7114110012e410b8aa08de9cc5f9ae8e56d.tar.bz2
itsol 2.0
ITSOL is a library of iterative solvers for general sparse linear systems of equations. Closes #27224. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/itsol.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/itsol.rb b/Library/Formula/itsol.rb
new file mode 100644
index 000000000..3c328a9cf
--- /dev/null
+++ b/Library/Formula/itsol.rb
@@ -0,0 +1,15 @@
+require "formula"
+
+class Itsol < Formula
+ homepage "http://www-users.cs.umn.edu/~saad/software/ITSOL"
+ url "http://www-users.cs.umn.edu/~saad/software/ITSOL/ITSOL_2.tar.gz"
+ sha1 "c7af215aaa6ab377521ba317eccf6859165ebefb"
+
+ depends_on :fortran
+
+ def install
+ system "make"
+ lib.install("LIB/libitsol.a")
+ (include/"itsol").install Dir["INC/*.h"]
+ end
+end