spack/var/spack/repos/builtin/packages/bucky/package.py
Todd Gamblin eea786f4e8 relicense: replace LGPL headers with Apache-2.0/MIT SPDX headers
- remove the old LGPL license headers from all files in Spack
- add SPDX headers to all files
  - core and most packages are (Apache-2.0 OR MIT)
  - a very small number of remaining packages are LGPL-2.1-only
2018-10-17 14:42:06 -07:00

39 lines
1.2 KiB
Python

# 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 Bucky(MakefilePackage):
"""BUCKy is a free program to combine molecular data from multiple loci.
BUCKy estimates the dominant history of sampled individuals, and how
much of the genome supports each relationship, using Bayesian
concordance analysis."""
homepage = "http://www.stat.wisc.edu/~ane/bucky/index.html"
url = "http://dstats.net/download/http://www.stat.wisc.edu/~ane/bucky/v1.4/bucky-1.4.4.tgz"
version('1.4.4', 'f0c910dd1d411d112637826519943a6d')
# Compilation requires gcc
conflicts('%cce')
conflicts('%clang')
conflicts('%intel')
conflicts('%nag')
conflicts('%pgi')
conflicts('%xl')
conflicts('%xl_r')
build_directory = 'src'
def install(self, spec, prefix):
with working_dir('src'):
mkdirp(prefix.bin)
install('bucky', prefix.bin)
install('mbsum', prefix.bin)
install_tree('data', prefix.data)
install_tree('doc', prefix.doc)
install_tree('scripts', prefix.scripts)