kalign: add v3.4.0 (#41758)
Co-authored-by: Rocco Meli <r.meli@bluemail.ch>
This commit is contained in:
parent
2ef8d09fc7
commit
2439ff56a5
1 changed files with 15 additions and 5 deletions
|
@ -3,18 +3,28 @@
|
|||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
|
||||
from spack.package import *
|
||||
|
||||
|
||||
class Kalign(AutotoolsPackage):
|
||||
class Kalign(AutotoolsPackage, CMakePackage):
|
||||
"""A fast multiple sequence alignment program for biological sequences."""
|
||||
|
||||
homepage = "https://github.com/TimoLassmann/kalign"
|
||||
url = "https://github.com/TimoLassmann/kalign/archive/refs/tags/v3.3.1.tar.gz"
|
||||
|
||||
version("3.4.0", sha256="67d1a562d54b3b7622cc3164588c05b9e2bf8f1a5140bb48a4e816c61a87d4a8")
|
||||
version("3.3.1", sha256="7f10acf9a3fa15deabbc0304e7c14efa25cea39108318c9f02b47257de2d7390")
|
||||
|
||||
build_system(
|
||||
conditional("cmake", when="@3.4.0:"),
|
||||
conditional("autotools", when="@3.3.1"),
|
||||
default="cmake",
|
||||
)
|
||||
|
||||
with when("build_system=cmake"):
|
||||
depends_on("cmake@3.18:", type="build")
|
||||
|
||||
with when("build_system=autotools"):
|
||||
depends_on("autoconf", type="build")
|
||||
depends_on("automake", type="build")
|
||||
depends_on("libtool", type="build")
|
||||
|
|
Loading…
Reference in a new issue