From 12cb5fc97f1e8a6a09c369090c4e5bc30c0ff625 Mon Sep 17 00:00:00 2001 From: Willem Deconinck Date: Fri, 9 Sep 2011 14:25:06 +0200 Subject: New Formula: Scotch Closes #7534. Signed-off-by: Charlie Sharpsteen --- Library/Formula/scotch.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Library/Formula/scotch.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3