homebrew-core/Formula/scotch.rb
Willem Deconinck f8cd6c1778 New Formula: Scotch
Closes Homebrew/homebrew#7534.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-10 19:20:23 -07:00

17 lines
417 B
Ruby

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