We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13e5296 + 18d2b28 commit 407920eCopy full SHA for 407920e
1 file changed
var/spack/repos/builtin/packages/bbcp/package.py
@@ -0,0 +1,17 @@
1
+from spack import *
2
+
3
+class Bbcp(Package):
4
+ """Securely and quickly copy data from source to target"""
5
+ homepage = "http://www.slac.stanford.edu/~abh/bbcp/"
6
7
+ version('git', git='http://www.slac.stanford.edu/~abh/bbcp/bbcp.git', branch="master")
8
9
+ def install(self, spec, prefix):
10
+ cd("src")
11
+ make()
12
+ # BBCP wants to build the executable in a directory whose name depends on the system type
13
+ makesname = Executable("../MakeSname")
14
+ bbcp_executable_path = "../bin/%s/bbcp" % makesname(output=str).rstrip("\n")
15
+ destination_path = "%s/bin/" % prefix
16
+ mkdirp(destination_path)
17
+ install(bbcp_executable_path, destination_path)
0 commit comments