homebrew-core/Formula/open-mpi.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

15 lines
470 B
Ruby

require 'formula'
class OpenMpi <Formula
url 'http://www.open-mpi.org/software/ompi/v1.4/downloads/openmpi-1.4.2.tar.gz'
homepage 'www.open-mpi.org'
md5 'e4f58c7e6792e4549424cb0420eb8655'
def install
# Compiler complains about link compatibility with FORTRAN otherwise
ENV.delete('CFLAGS')
ENV.delete('CXXFLAGS')
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end