aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-01-26 17:59:49 -0800
committerAdam Vandenberg2013-01-26 17:59:49 -0800
commit6f5e741606fda1f2b033393ffa97c32835b5c277 (patch)
treeda20205c12a9aed2438d479d0d11b01b01505a0c /Library/Formula
parent462c64c85786883305a41db1a61d531a5a88c2a5 (diff)
downloadhomebrew-6f5e741606fda1f2b033393ffa97c32835b5c277.tar.bz2
bsponmpi: don't install CVS folders
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bsponmpi.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Formula/bsponmpi.rb b/Library/Formula/bsponmpi.rb
index 3f504ab4a..0fd9df5fc 100644
--- a/Library/Formula/bsponmpi.rb
+++ b/Library/Formula/bsponmpi.rb
@@ -1,16 +1,18 @@
require 'formula'
class Bsponmpi < Formula
- url 'http://downloads.sourceforge.net/project/bsponmpi/bsponmpi/0.3/bsponmpi-0.3.tar.gz'
homepage 'http://sourceforge.net/projects/bsponmpi'
+ url 'http://downloads.sourceforge.net/project/bsponmpi/bsponmpi/0.3/bsponmpi-0.3.tar.gz'
sha1 '07380f8c4e72a69dddf5deae786ecbb37811b489'
depends_on 'scons' => :build
depends_on MPIDependency.new(:cc, :cxx)
def install
+ # Don't install 'CVS' folders from tarball
+ rm_rf 'include/CVS'
+ rm_rf 'include/tools/CVS'
system "scons -Q mode=release"
- lib.install Dir['lib/*']
- include.install Dir['include/*']
+ prefix.install 'lib', 'include'
end
end