summaryrefslogtreecommitdiff
path: root/homebrew/superlu/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/superlu/.make.sh-auto')
-rw-r--r--homebrew/superlu/.make.sh-auto10
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/superlu/.make.sh-auto b/homebrew/superlu/.make.sh-auto
new file mode 100644
index 000000000..d8dd6fdd9
--- /dev/null
+++ b/homebrew/superlu/.make.sh-auto
@@ -0,0 +1,10 @@
+pkg:setup
+ENV.deparallelize
+cp "MAKE_INC/make.mac-x", "./make.inc"
+args = ["SuperLUroot=#{buildpath}", "SUPERLULIB=$(SuperLUroot)/lib/libsuperlu.a", "CC=#{ENV.cc}", "BLASLIB=-L#{Formula["veclibfort"].opt_lib} -lvecLibFort"]
+make lib *args
+lib.install Dir["lib/*"]
+(include/"superlu").install Dir["SRC/*.h"]
+doc.install Dir["Doc/*"]
+pkgshare.install "EXAMPLE/dlinsol.c"
+pkgshare.install "EXAMPLE/g20.rua"