summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cap3/package.py
blob: 35e8261360af4221d7c7fc8815b6ed2e0ab6762b (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
25
26
27
# Copyright 2013-2023 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 Cap3(Package):
    """CAP3 is DNA Sequence Assembly Program"""

    homepage = "http://seq.cs.iastate.edu/"
    url = "http://seq.cs.iastate.edu/CAP3/cap3.linux.x86_64.tar"

    version(
        "2015-02-11",
        sha256="3aff30423e052887925b32f31bdd76764406661f2be3750afbf46341c3d38a06",
        url="http://seq.cs.iastate.edu/CAP3/cap3.linux.x86_64.tar",
    )

    def install(self, spec, prefix):
        mkdirp(prefix.bin)
        install("cap3", prefix.bin)
        install("formcon", prefix.bin)
        mkdirp(prefix.doc)
        install("doc", prefix.doc)
        install("aceform", prefix.doc)