aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/scotch.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/scotch.rb b/Library/Formula/scotch.rb
new file mode 100644
index 000000000..0ce813fe5
--- /dev/null
+++ b/Library/Formula/scotch.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class Scotch < Formula
+ version '5.1.12'
+ url 'https://gforge.inria.fr/frs/download.php/28933'
+ homepage 'https://gforge.inria.fr/projects/scotch'
+ md5 'f873ff2bad519f9be7bc7b117bbe0bc4'
+
+ def install
+ Dir.chdir 'src'
+ ln_s 'Make.inc/Makefile.inc.i686_mac_darwin8', 'Makefile.inc'
+ system 'make scotch'
+ system 'make ptscotch'
+ system "make install prefix=#{prefix}"
+ end
+
+end