blob: edb9960d5cddbca44ace987fe80a403d5f6ecd07 (
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
|
# 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 Pbmpi(MakefilePackage):
"""A Bayesian software for phylogenetic reconstruction using mixture models
"""
homepage = "http://megasun.bch.umontreal.ca/People/lartillot/www/index.htm"
git = "https://github.com/bayesiancook/pbmpi.git"
version('partition', branch='partition')
depends_on('mpi')
depends_on('libfabric')
build_directory = 'sources'
@run_before('build')
def make_data_dir(self):
mkdirp(self.stage.source_path, 'data')
def install(self, spec, prefix):
install_tree('data', prefix.bin)
install_tree('sources', prefix.sources)
|