new package: trimal (starting at 1.4.1) (#9592)
This commit is contained in:
parent
29cb82c988
commit
187dfb61a3
25
var/spack/repos/builtin/packages/trimal/package.py
Normal file
25
var/spack/repos/builtin/packages/trimal/package.py
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright 2013-2018 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 Trimal(MakefilePackage):
|
||||||
|
"""A tool for automated alignment trimming in large-scale
|
||||||
|
phylogenetic analyses"""
|
||||||
|
|
||||||
|
homepage = "https://github.com/scapella/trimal"
|
||||||
|
url = "https://github.com/scapella/trimal/archive/v1.4.1.tar.gz"
|
||||||
|
|
||||||
|
version('1.4.1', sha256='cb8110ca24433f85c33797b930fa10fe833fa677825103d6e7f81dd7551b9b4e')
|
||||||
|
|
||||||
|
build_directory = 'source'
|
||||||
|
|
||||||
|
def install(self, sinstall_treepec, prefix):
|
||||||
|
mkdirp(prefix.bin)
|
||||||
|
binaries = ['trimal', 'readal', 'statal']
|
||||||
|
with working_dir(self.build_directory):
|
||||||
|
for b in binaries:
|
||||||
|
install(b, prefix.bin)
|
Loading…
Reference in New Issue
Block a user