blob: 9b6819b7a7708f7ef4147284d220317bdeff3aba (
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
|
# Copyright 2013-2022 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 Libbigwig(CMakePackage):
"""A C library for reading/parsing local and remote bigWig and bigBed files."""
homepage = "https://github.com/dpryan79/libBigWig"
url = "https://github.com/dpryan79/libBigWig/archive/refs/tags/0.4.7.tar.gz"
maintainers = ["snehring"]
version("0.4.7", sha256="8e057797011d93fa00e756600898af4fe6ca2d48959236efc9f296abe94916d9")
variant("curl", default=True, description="Build with curl support")
depends_on("curl", when="+curl")
def cmake_args(self):
args = []
if self.spec.satisfies("~curl"):
args.append("-DWITH_CURL=OFF")
return args
|