summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cdbfasta/package.py
blob: 24ab2790e6723bc011e167861fcf372f3b438728 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2013-2024 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.package 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"

    license("Artistic-2.0")

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

    depends_on("zlib-api")

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