diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-05 10:39:32 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-05-05 10:39:32 -0700 |
commit | 407920e40a6af71fd2a83a8245d6a62ab48e4ec8 (patch) | |
tree | b0831935566b27c9193f61531f59f9686a960a9b /var | |
parent | 13e52962ee59b6e88535d8e38acf25f462e5ec74 (diff) | |
parent | 18d2b28c498026828aab4fc2ece62b2e062d74c2 (diff) | |
download | spack-407920e40a6af71fd2a83a8245d6a62ab48e4ec8.tar.gz spack-407920e40a6af71fd2a83a8245d6a62ab48e4ec8.tar.bz2 spack-407920e40a6af71fd2a83a8245d6a62ab48e4ec8.tar.xz spack-407920e40a6af71fd2a83a8245d6a62ab48e4ec8.zip |
Merge pull request #904 from robertdfrench/bbcp
BBCP
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/bbcp/package.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bbcp/package.py b/var/spack/repos/builtin/packages/bbcp/package.py new file mode 100644 index 0000000000..e9baa5ccf4 --- /dev/null +++ b/var/spack/repos/builtin/packages/bbcp/package.py @@ -0,0 +1,17 @@ +from spack import * + +class Bbcp(Package): + """Securely and quickly copy data from source to target""" + homepage = "http://www.slac.stanford.edu/~abh/bbcp/" + + version('git', git='http://www.slac.stanford.edu/~abh/bbcp/bbcp.git', branch="master") + + def install(self, spec, prefix): + cd("src") + make() + # BBCP wants to build the executable in a directory whose name depends on the system type + makesname = Executable("../MakeSname") + bbcp_executable_path = "../bin/%s/bbcp" % makesname(output=str).rstrip("\n") + destination_path = "%s/bin/" % prefix + mkdirp(destination_path) + install(bbcp_executable_path, destination_path) |