diff options
author | Justin Stanley <molecuul@users.noreply.github.com> | 2019-02-22 19:22:30 -0600 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2019-02-22 19:22:30 -0600 |
commit | 68af6148d1b831c672c74ccb0e31daf9f6db21d6 (patch) | |
tree | 8782d7087818d478f83eb97d2efd528690b9887f | |
parent | 0e7b19adf47bee4b4adb169c84864d3631f7306a (diff) | |
download | spack-68af6148d1b831c672c74ccb0e31daf9f6db21d6.tar.gz spack-68af6148d1b831c672c74ccb0e31daf9f6db21d6.tar.bz2 spack-68af6148d1b831c672c74ccb0e31daf9f6db21d6.tar.xz spack-68af6148d1b831c672c74ccb0e31daf9f6db21d6.zip |
beast-tracer: new package at 1.7.1 (#10652)
-rw-r--r-- | var/spack/repos/builtin/packages/beast-tracer/package.py | 28 | ||||
-rwxr-xr-x | var/spack/repos/builtin/packages/beast-tracer/tracer | 4 |
2 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/beast-tracer/package.py b/var/spack/repos/builtin/packages/beast-tracer/package.py new file mode 100644 index 0000000000..024ad75537 --- /dev/null +++ b/var/spack/repos/builtin/packages/beast-tracer/package.py @@ -0,0 +1,28 @@ +# 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 * +from os import path + + +class BeastTracer(Package): + """Tracer is a graphical tool for visualization and diagnostics of MCMC + output.""" + + homepage = "http://beast.community/tracer" + url = "https://github.com/beast-dev/tracer/archive/v1.7.1.tar.gz" + + version('1.7.1', sha256='947d51c5afa52354099b9b182ba6036e352356bd62df94031f33cdcb7e8effd3') + + depends_on('ant', type='build') + depends_on('java', type=('build', 'run')) + + def install(self, spec, prefix): + ant = which('ant') + ant('dist') + + mkdirp(prefix.bin) + install(join_path(path.dirname(__file__), 'tracer'), prefix.bin) + install('build/dist/tracer.jar', prefix.bin) diff --git a/var/spack/repos/builtin/packages/beast-tracer/tracer b/var/spack/repos/builtin/packages/beast-tracer/tracer new file mode 100755 index 0000000000..1bdbc0e0e5 --- /dev/null +++ b/var/spack/repos/builtin/packages/beast-tracer/tracer @@ -0,0 +1,4 @@ +#!/bin/env sh +# tracer launch script + +java -Xms64m -Xmx10000m -jar $(dirname $0)/tracer.jar $* |