Skip to content

Commit

Permalink
New Formula: Scotch
Browse files Browse the repository at this point in the history
Closes Homebrew#7534.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
  • Loading branch information
wdeconinck authored and Sharpie committed Sep 11, 2011
1 parent c2075ac commit 3cc8a0d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Library/Formula/scotch.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3cc8a0d

Please sign in to comment.