aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWillem Deconinck2011-09-09 14:25:06 +0200
committerCharlie Sharpsteen2011-09-10 19:20:23 -0700
commit12cb5fc97f1e8a6a09c369090c4e5bc30c0ff625 (patch)
treec42ba66da70d0446ced7435398f857582f2e5d06
parent1eaea2a33f3bb50dfa2ce411b1bc0f9700e8d1b5 (diff)
downloadhomebrew-12cb5fc97f1e8a6a09c369090c4e5bc30c0ff625.tar.bz2
New Formula: Scotch
Closes #7534. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
-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