diff options
author | Jeffrey Salmond <js947@users.noreply.github.com> | 2019-10-14 09:49:31 +0100 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2019-10-14 10:49:31 +0200 |
commit | 2bb1bae2ae42770bcc122816f22a2a3a7031ef78 (patch) | |
tree | ad33ebcb97dbf9ad3cd24e810247c10c3dd5a727 /var | |
parent | c851cfd1226c6a5db69813d06c82d7631dadbb71 (diff) | |
download | spack-2bb1bae2ae42770bcc122816f22a2a3a7031ef78.tar.gz spack-2bb1bae2ae42770bcc122816f22a2a3a7031ef78.tar.bz2 spack-2bb1bae2ae42770bcc122816f22a2a3a7031ef78.tar.xz spack-2bb1bae2ae42770bcc122816f22a2a3a7031ef78.zip |
dialign: added new package at version 2.2.1 (#13130)
Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/dialign/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dialign/package.py b/var/spack/repos/builtin/packages/dialign/package.py new file mode 100644 index 0000000000..5a8e6b7d7c --- /dev/null +++ b/var/spack/repos/builtin/packages/dialign/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 * + + +class Dialign(MakefilePackage): + """DIALIGN is a software program for multiple sequence alignment developed + by Burkhard Morgenstern et al..""" + + homepage = "https://bibiserv.cebitec.uni-bielefeld.de/dialign" + url = "https://bibiserv.cebitec.uni-bielefeld.de/applications/dialign/resources/downloads/dialign-2.2.1-src.tar.gz" + + version('2.2.1', sha256='046361bb4ca6e4ab2ac5e634cfcd673f964a887006c09c1b8bd3310fac86f519') + + build_directory = 'src' + + def install(self, spec, prefix): + mkdirp(prefix.bin) + install(join_path('src', 'dialign2-2'), prefix.bin) + + mkdirp(prefix.share) + install_tree('dialign2_dir', prefix.share) + + def setup_environment(self, spack_env, run_env): + run_env.set('DIALIGN2_DIR', self.prefix.share) |