summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/poplddecay/package.py
blob: 49eef781a711631548d48a745b50fee1ebe6838d (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
28
# 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 Poplddecay(MakefilePackage):
    """
    PopLDdecay: a fast and effective tool for linkage disequilibrium
    decay analysis based on variant call format files
    """

    homepage = "https://github.com/BGI-shenzhen/PopLDdecay"
    url      = "https://github.com/BGI-shenzhen/PopLDdecay/archive/v3.41.tar.gz"

    maintainers = ['robqiao']

    version('3.41', sha256='b84fe5c9a1e1f6798eebbe4445b0b4bc7d02ac9f03fd01cb9cdcc8ee4db71040')
    version('3.40', sha256='5070930166fb90f7eaaa4b87c4430caa8a827d79c54683e2f56434a4daf69778')

    build_directory = 'src'

    build_targets = ['all', 'clean']

    def install(self, spec, prefix):
        install_tree('bin', prefix.bin)