summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/racon/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/racon/package.py')
-rw-r--r--var/spack/repos/builtin/packages/racon/package.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/racon/package.py b/var/spack/repos/builtin/packages/racon/package.py
new file mode 100644
index 0000000000..706d1f68c2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/racon/package.py
@@ -0,0 +1,32 @@
+# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class Racon(CMakePackage):
+ """Ultrafast consensus module for raw de novo genome assembly of long
+ uncorrected reads."""
+
+ homepage = "https://github.com/isovic/racon"
+ url = "https://github.com/isovic/racon/releases/download/1.2.1/racon-v1.2.1.tar.gz"
+
+ version('1.3.0', 'e00d61f391bce2af20ebd2a3aee1e05a')
+ version('1.2.1', '7bf273b965a5bd0f41342a9ffe5c7639')
+
+ depends_on('cmake@3.2:', type='build')
+ depends_on('python', type='build')
+
+ conflicts('%gcc@:4.7')
+ conflicts('%clang@:3.1')
+
+ def cmake_args(self):
+ args = ['-Dracon_build_wrapper=ON']
+ return args
+
+ def install(self, spec, prefix):
+ install_tree('spack-build/bin', prefix.bin)
+ install_tree('spack-build/lib', prefix.lib)