centrifuge: add new package (#42168)
* centrifuge: add new package * fix styling
This commit is contained in:
parent
4d54688782
commit
b54a69e8d1
21
var/spack/repos/builtin/packages/centrifuge/package.py
Normal file
21
var/spack/repos/builtin/packages/centrifuge/package.py
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Copyright 2013-2024 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.package import *
|
||||||
|
|
||||||
|
|
||||||
|
class Centrifuge(MakefilePackage):
|
||||||
|
"""Classifier for metagenomic sequences."""
|
||||||
|
|
||||||
|
homepage = "https://ccb.jhu.edu/software/centrifuge/index.shtml"
|
||||||
|
url = "https://github.com/DaehwanKimLab/centrifuge/archive/refs/tags/v1.0.4.tar.gz"
|
||||||
|
|
||||||
|
version("1.0.4", sha256="929daed0f84739f7636cc1ea2757527e83373f107107ffeb5937a403ba5201bc")
|
||||||
|
|
||||||
|
def build(self, spec, prefix):
|
||||||
|
make()
|
||||||
|
|
||||||
|
def install(self, spec, prefix):
|
||||||
|
make("install", "prefix=" + prefix)
|
Loading…
Reference in New Issue
Block a user