blob: 46792698087e00a77720809acb596534b0ea10b0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 2013-2023 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 Fastqvalidator(MakefilePackage):
"""The fastQValidator validates the format of fastq files."""
homepage = "https://genome.sph.umich.edu/wiki/FastQValidator"
git = "https://github.com/statgen/fastQValidator.git"
version("2017-01-10", commit="6d619a34749e9d33c34ef0d3e0e87324ca77f320")
resource(
name="libStatGen",
git="https://github.com/statgen/libStatGen.git",
commit="9db9c23e176a6ce6f421a3c21ccadedca892ac0c",
)
depends_on("zlib-api", type="link")
patch("chromosome.patch", when="@2017-01-10", working_dir="libStatGen")
@property
def build_targets(self):
return ["LIB_PATH_GENERAL={0}".format(join_path(self.stage.source_path, "libStatGen"))]
@property
def install_targets(self):
return [
"INSTALLDIR={0}".format(self.prefix.bin),
"LIB_PATH_GENERAL={0}".format(join_path(self.stage.source_path, "libStatGen")),
"install",
]
|