homebrew-core/Formula/scotch.rb
Adam Vandenberg da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00

17 lines
434 B
Ruby

require 'formula'
class Scotch < Formula
homepage 'https://gforge.inria.fr/projects/scotch'
url 'https://gforge.inria.fr/frs/download.php/28933'
version '5.1.12'
md5 'f873ff2bad519f9be7bc7b117bbe0bc4'
def install
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
end
end