2013-04-19 09:59:20 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Moab < Formula
|
|
|
|
homepage 'https://trac.mcs.anl.gov/projects/ITAPS/wiki/MOAB'
|
2013-08-05 20:27:54 +00:00
|
|
|
url 'https://bitbucket.org/fathomteam/moab/get/4.6.1.tar.gz'
|
|
|
|
sha1 '6fad0bc6ff6c8c067edbfb56b5e7068c92a8e7cd'
|
2013-04-19 09:59:20 +00:00
|
|
|
|
|
|
|
depends_on :automake
|
|
|
|
depends_on :libtool
|
|
|
|
depends_on 'netcdf'
|
|
|
|
depends_on 'hdf5'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "autoreconf", "--force", "--install"
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|