summaryrefslogtreecommitdiff
path: root/homebrew/arpack/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/arpack/.make.sh-auto')
-rw-r--r--homebrew/arpack/.make.sh-auto10
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/arpack/.make.sh-auto b/homebrew/arpack/.make.sh-auto
new file mode 100644
index 000000000..d8c015e3d
--- /dev/null
+++ b/homebrew/arpack/.make.sh-auto
@@ -0,0 +1,10 @@
+pkg:setup
+args = %W[--disable-dependency-tracking --prefix=#{libexec} --with-blas=-L#{Formula["veclibfort"].opt_lib}\ -lvecLibFort F77=mpif77 -enable-mpi ]
+./bootstrap
+pkg:configure *args
+make
+make DESTDIR=${PKG_DEST} install
+lib.install_symlink Dir["#{libexec}/lib/*"].select { |f| File.file?(f) }
+(lib/"pkgconfig").install_symlink Dir["#{libexec}/lib/pkgconfig/*"]
+pkgshare.install "TESTS/testA.mtx", "TESTS/dnsimp.f", "TESTS/mmio.f", "TESTS/debug.h"
+(libexec/"bin").install (buildpath/"PARPACK/EXAMPLES/MPI").children