2011-09-09 12:25:06 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Scotch < Formula
|
|
|
|
homepage 'https://gforge.inria.fr/projects/scotch'
|
2012-02-10 07:01:58 +00:00
|
|
|
url 'https://gforge.inria.fr/frs/download.php/28933'
|
|
|
|
version '5.1.12'
|
2011-09-09 12:25:06 +00:00
|
|
|
md5 'f873ff2bad519f9be7bc7b117bbe0bc4'
|
|
|
|
|
|
|
|
def install
|
2012-02-21 06:04:21 +00:00
|
|
|
cd 'src' do
|
|
|
|
ln_s 'Make.inc/Makefile.inc.i686_mac_darwin8', 'Makefile.inc'
|
|
|
|
system 'make scotch'
|
|
|
|
system 'make ptscotch'
|
|
|
|
system "make", "install", "prefix=#{prefix}"
|
|
|
|
end
|
2011-09-09 12:25:06 +00:00
|
|
|
end
|
|
|
|
end
|