summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/prank/package.py
blob: bc77a6f7b14d85813a0761fe4d5ffd1f16d481f1 (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-2019 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 Prank(Package):
    """A powerful multiple sequence alignment browser."""

    homepage = "http://wasabiapp.org/software/prank/"
    url      = "http://wasabiapp.org/download/prank/prank.source.150803.tgz"

    version('170427', 'a5cda14dc4e5efe1f14b84eb7a7caabd')
    version('150803', '71ac2659e91c385c96473712c0a23e8a')

    depends_on('mafft')
    depends_on('exonerate')
    depends_on('bpp-suite')      # for bppancestor
    conflicts('%gcc@7.2.0', when='@:150803')

    def install(self, spec, prefix):
        with working_dir('src'):
            make()
            mkdirp(prefix.bin)
            install('prank', prefix.bin)