dialign: added new package at version 2.2.1 (#13130)

Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Jeffrey Salmond 2019-10-14 09:49:31 +01:00 committed by Massimiliano Culpo
parent c851cfd122
commit 2bb1bae2ae

View File

@ -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)