diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/mcl/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/mcl/package.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mcl/package.py b/var/spack/repos/builtin/packages/mcl/package.py index f6768b1842..b51394d006 100644 --- a/var/spack/repos/builtin/packages/mcl/package.py +++ b/var/spack/repos/builtin/packages/mcl/package.py @@ -20,3 +20,15 @@ class Mcl(AutotoolsPackage): def patch(self): filter_file("^dim", "extern dim", "src/impala/iface.h") filter_file("^double", "extern double", "src/impala/iface.h") + + depends_on("perl", type="run") + + variant("blast", default=False, description="Build bio-informatics tools.") + + def configure_args(self): + args = [] + + if "+blast" in self.spec: + args.append("--enable-blast") + + return args |