summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cap3/package.py
blob: 7faba6dbdeaa05f6ba52b20e7edce9f00f7768d2 (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-2022 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 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)