spack/var/spack/repos/builtin/packages/fqtrim/package.py
Harmen Stoppels 7b9f8abce5
Add depends_on([c,cxx,fortran]) (#45217)
Add language dependencies `c`, `cxx`, and `fortran`.

These `depends_on` statements are auto-generated based on file extensions found
in source tarballs/zipfiles.

The `# generated` comment can be removed by package maintainers after
validating correctness.
2024-07-17 16:07:43 +02:00

30 lines
959 B
Python

# 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 Fqtrim(MakefilePackage):
"""fqtrim is a versatile stand-alone utility that can be used to trim
adapters, poly-A tails, terminal unknown bases (Ns) and low quality 3'
regions in reads from high-throughput next-generation sequencing
machines."""
homepage = "https://ccb.jhu.edu/software/fqtrim/"
url = "https://ccb.jhu.edu/software/fqtrim/dl/fqtrim-0.9.7.tar.gz"
license("Artistic-2.0")
version("0.9.7", sha256="4951538f69dde14a23fc4841ff020434d26eb9622c4e06b43c068c702aa3d0d6")
depends_on("cxx", type="build") # generated
def build(self, spec, prefix):
make("release")
def install(self, spec, prefix):
mkdirp(prefix.bin)
install("fqtrim", prefix.bin)