diff options
author | downloadico <download@carc.unm.edu> | 2021-01-12 02:42:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-12 10:42:23 +0100 |
commit | 1a45ce132ddbc5d6b7070e772a6ea11ea5e73d7b (patch) | |
tree | 9a4c8ea301dffba73dcc5125b4bccedb37f5a597 | |
parent | 506da6891ad56278e7af23ef244e0c0d862585fd (diff) | |
download | spack-1a45ce132ddbc5d6b7070e772a6ea11ea5e73d7b.tar.gz spack-1a45ce132ddbc5d6b7070e772a6ea11ea5e73d7b.tar.bz2 spack-1a45ce132ddbc5d6b7070e772a6ea11ea5e73d7b.tar.xz spack-1a45ce132ddbc5d6b7070e772a6ea11ea5e73d7b.zip |
hybrid-lambda: added new package (#20754)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/hybrid-lambda/package.py | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hybrid-lambda/package.py b/var/spack/repos/builtin/packages/hybrid-lambda/package.py new file mode 100644 index 0000000000..a3d6425279 --- /dev/null +++ b/var/spack/repos/builtin/packages/hybrid-lambda/package.py @@ -0,0 +1,39 @@ +# Copyright 2013-2020 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 HybridLambda(AutotoolsPackage): + """Hybrid-Lambda is a software package that can simulate gene trees + within a rooted species network or a rooted species tree under the + coalescent process. + + The main feature of this program is that users can + choose to use the standard Kingman coalescent process, which produces + bifurcating genealogies, or two other Lambda coalescent processes, + which produce multifurcating genealogies. The other feature is that + hybrid sim uses extended Newick formatted strings to make it easier to + represent hybridization events between species.""" + + homepage = "https://github.com/hybridLambda/hybrid-Lambda" + git = "https://github.com/hybridLambda/hybrid-Lambda.git" + + version('develop', submodules=True) + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + depends_on('boost') + depends_on('cppunit', type='test') + + build_directory = 'src' + + @run_after('configure') + def change_install_option_in_makefile(self): + with working_dir('src'): + filter_file(r'INSTALL = /bin/install -c', + 'INSTALL = /bin/install -C', 'Makefile') |