diff options
author | lingnanyuan <1297162327@qq.com> | 2018-05-14 16:56:49 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-05-14 16:56:49 -0500 |
commit | 34a2d35e50f88679f8c98285c1a4c4d2391c6311 (patch) | |
tree | f3199bf3ab660d9f18d09e4c2edb39f4193511eb /var | |
parent | 6cf1d25d14e9f9a56212b9c2ad1f16d80bdcd913 (diff) | |
download | spack-34a2d35e50f88679f8c98285c1a4c4d2391c6311.tar.gz spack-34a2d35e50f88679f8c98285c1a4c4d2391c6311.tar.bz2 spack-34a2d35e50f88679f8c98285c1a4c4d2391c6311.tar.xz spack-34a2d35e50f88679f8c98285c1a4c4d2391c6311.zip |
lordec: Create new package. (#8095)
* lordec: Create new package.
* lordec: Add homepage, change to MakefilePackage.
* Modify dependency type.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/lordec/package.py | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/lordec/package.py b/var/spack/repos/builtin/packages/lordec/package.py new file mode 100644 index 0000000000..ba20910c05 --- /dev/null +++ b/var/spack/repos/builtin/packages/lordec/package.py @@ -0,0 +1,44 @@ +############################################################################## +# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC. +# Produced at the Lawrence Livermore National Laboratory. +# +# This file is part of Spack. +# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. +# LLNL-CODE-647188 +# +# For details, see https://github.com/spack/spack +# Please also see the NOTICE and LICENSE files for our notice and the LGPL. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License (as +# published by the Free Software Foundation) version 2.1, February 1999. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and +# conditions of the GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +############################################################################## +from spack import * + + +class Lordec(MakefilePackage): + """LoRDEC is a program to correct sequencing errors in long reads from + 3rd generation sequencing with high error rate, and is especially + intended for PacBio reads.""" + + homepage = "http://www.atgc-montpellier.fr/lordec/" + url = "https://gite.lirmm.fr/lordec/lordec-releases/uploads/e3116a5f251e46e47f7a3b7ddb2bd7f6/lordec-src_0.8.tar.gz" + + version('0.8', 'd5a57db681d1cd31c516aa780ce53f9d') + + depends_on('boost') + depends_on('cmake@3.1.0:', type='build') + + build_targets = ['clean', 'all'] + + def install(self, spec, prefix): + install_tree('.', prefix.bin) |