summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/lastz/package.py
blob: e590aec5330fa58ea86d14f951b272bbb60eca9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2020 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 Lastz(MakefilePackage):
    """LASTZ is a program for aligning DNA sequences, a pairwise aligner."""

    homepage = "https://lastz.github.io/lastz"
    url      = "https://github.com/lastz/lastz/archive/1.04.00.tar.gz"

    version('1.04.00', sha256='a4c2c7a77430387e96dbc9f5bdc75874334c672be90f5720956c0f211abf9f5a')

    # cast from char to signed char
    patch('cast_signed_char.patch')

    def install(self, spec, prefix):
        make('install', 'LASTZ_INSTALL={0}'.format(prefix.bin))