2012-01-17 23:55:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Bsponmpi < Formula
|
|
|
|
homepage 'http://sourceforge.net/projects/bsponmpi'
|
2013-01-27 01:59:49 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/bsponmpi/bsponmpi/0.3/bsponmpi-0.3.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '07380f8c4e72a69dddf5deae786ecbb37811b489'
|
2012-01-17 23:55:44 +00:00
|
|
|
|
|
|
|
depends_on 'scons' => :build
|
2013-06-27 03:08:54 +00:00
|
|
|
depends_on :mpi => [:cc, :cxx]
|
2012-01-17 23:55:44 +00:00
|
|
|
|
|
|
|
def install
|
2013-01-27 01:59:49 +00:00
|
|
|
# Don't install 'CVS' folders from tarball
|
|
|
|
rm_rf 'include/CVS'
|
|
|
|
rm_rf 'include/tools/CVS'
|
2014-02-25 15:45:01 +00:00
|
|
|
scons "-Q", "mode=release"
|
2013-01-27 01:59:49 +00:00
|
|
|
prefix.install 'lib', 'include'
|
2012-01-17 23:55:44 +00:00
|
|
|
end
|
|
|
|
end
|