spack/var/spack/repos/builtin/packages/glimmer/package.py

25 lines
801 B
Python
Raw Normal View History

2022-01-13 03:21:41 +08:00
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
2018-02-12 05:22:34 +08:00
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
2018-02-12 05:22:34 +08:00
class Glimmer(MakefilePackage):
"""Glimmer is a system for finding genes in microbial DNA, especially the
genomes of bacteria, archaea, and viruses."""
homepage = "https://ccb.jhu.edu/software/glimmer"
version("3.02b", sha256="ecf28e03d0a675aed7360ca34ca7f19993f5c3ea889273e657ced9fa7d1e2bf6")
2018-02-12 05:22:34 +08:00
build_directory = "src"
2018-02-12 05:22:34 +08:00
def url_for_version(self, version):
url = "https://ccb.jhu.edu/software/glimmer/glimmer{0}.tar.gz"
return url.format(version.joined)
def install(self, spec, prefix):
install_tree("bin", prefix.bin)