summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cdbfasta/package.py
blob: 11bccc8f9d6c8aab2518dd9e2d284b1859aaaeb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 Cdbfasta(MakefilePackage):
    """Fast indexing and retrieval of fasta records from flat file databases"""

    homepage = "https://github.com/gpertea/cdbfasta"
    git      = "https://github.com/gpertea/cdbfasta.git"

    version('2017-03-16', commit='b3e481fe02dfbc767a3842bcb1b687c60376a5e8')

    depends_on('zlib')

    def install(self, spec, prefix):
        mkdirp(prefix.bin)
        install('cdbfasta', prefix.bin)
        install('cdbyank', prefix.bin)