summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/poplddecay/package.py
blob: 93d7ddbec054d3aa425d7bea8b15c992b1cce63c (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
29
30
# Copyright 2013-2023 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.package 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")

    license("MIT")

    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)