From c1e3e5de5c7949071a3df4d0cad692fb982452cf Mon Sep 17 00:00:00 2001 From: Sinan Date: Sun, 8 Apr 2018 06:21:02 -0700 Subject: new package "DSRC" (bioinformatics) (#7680) * new package "DSRC" (bioinformatics) * remove uncommented line * get rid of unnecessary import * convert to MakefilePackage class * get rid of make() in install phase, remove spaces * make flake8 happy! --- var/spack/repos/builtin/packages/dsrc/package.py | 45 ++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 var/spack/repos/builtin/packages/dsrc/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/dsrc/package.py b/var/spack/repos/builtin/packages/dsrc/package.py new file mode 100644 index 0000000000..6bdf4faf55 --- /dev/null +++ b/var/spack/repos/builtin/packages/dsrc/package.py @@ -0,0 +1,45 @@ +############################################################################## +# Copyright (c) 2013-2017, 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 Dsrc(MakefilePackage): + """DNA Sequence Reads Compression is an application designed for + compression of data files containing reads from DNA sequencing in + FASTQ format.""" + + homepage = "http://sun.aei.polsl.pl/dsrc" + url = "https://github.com/refresh-bio/DSRC/archive/v2.0.2.tar.gz" + + version('2.0.2', '0a75deb6db948f9179df0756c259b870') + + parallel = False + + def install(self, spec, prefix): + install_tree('bin', prefix.bin) + install_tree('lib', prefix.lib) + install_tree('include', prefix.include) + install_tree('examples', prefix.examples) -- cgit v1.2.3-70-g09d2