summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordownloadico <download@carc.unm.edu>2021-02-20 13:54:39 -0700
committerGitHub <noreply@github.com>2021-02-20 14:54:39 -0600
commit1fc4213bd51dc677e6b40a92a16fc8dde10cfe1c (patch)
tree6c1529b59d340e2ffb922ac1deb78a92175d18ff
parent4bd8cd1916f1c9961bc069d922989318683961a3 (diff)
downloadspack-1fc4213bd51dc677e6b40a92a16fc8dde10cfe1c.tar.gz
spack-1fc4213bd51dc677e6b40a92a16fc8dde10cfe1c.tar.bz2
spack-1fc4213bd51dc677e6b40a92a16fc8dde10cfe1c.tar.xz
spack-1fc4213bd51dc677e6b40a92a16fc8dde10cfe1c.zip
masurca: add version 4.0.1 (#21816)
Now using the install.sh script to install into the prefix.
-rw-r--r--var/spack/repos/builtin/packages/masurca/package.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/masurca/package.py b/var/spack/repos/builtin/packages/masurca/package.py
index d14cc2154f..673aed6259 100644
--- a/var/spack/repos/builtin/packages/masurca/package.py
+++ b/var/spack/repos/builtin/packages/masurca/package.py
@@ -14,6 +14,7 @@ class Masurca(Package):
homepage = "http://www.genome.umd.edu/masurca.html"
url = "https://github.com/alekseyzimin/masurca/releases/download/v3.3.1/MaSuRCA-3.3.1.tar.gz"
+ version('4.0.1', sha256='68628acaf3681d09288b48a35fec7909b347b84494fb26c84051942256299870')
version('3.3.1', sha256='587d0ee2c6b9fbd3436ca2a9001e19f251b677757fe5e88e7f94a0664231e020')
version('3.2.9', sha256='795ad4bd42e15cf3ef2e5329aa7e4f2cdeb7e186ce2e350a45127e319db2904b')
@@ -30,7 +31,12 @@ class Masurca(Package):
m = join_path('global-1', makefile)
filter_file('-minline-all-stringops', '', m)
+ def setup_build_environment(self, env):
+ if '@4:' in self.spec:
+ env.set('DEST', self.prefix)
+
def install(self, spec, prefix):
installer = Executable('./install.sh')
installer()
- install_tree('.', prefix)
+ if '@:4' in self.spec:
+ install_tree('.', prefix)