summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/linkphase3/package.py
blob: 2aed38c49c65f7d721c75cf4b786fe90eb71368f (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-2018 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 Linkphase3(Package):
    """Haplotype reconstruction in pedigreed populations."""

    homepage = "https://github.com/tdruet/LINKPHASE3"
    git      = "https://github.com/tdruet/LINKPHASE3.git"

    version('2017-06-14', commit='559913593fc818bb1adb29796a548cf5bf323827')

    def install(self, spec, prefix):
        fortran = Executable(self.compiler.fc)
        fortran('LINKPHASE3.f90', '-o', 'LINKPHASE3')
        mkdirp(prefix.bin)
        install('LINKPHASE3', prefix.bin)