blob: 0cb19e91d2fbd145dc367532cb667578a62bf5cd (
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
|
# 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 Btop(MakefilePackage):
"""Resource monitor that shows usage and stats for processor,
memory, disks, network and processes.
"""
homepage = "https://github.com/aristocratos/btop#documents"
url = "https://github.com/aristocratos/btop/archive/refs/tags/v1.2.13.tar.gz"
maintainers("alalazo")
license("Apache-2.0")
version("1.2.13", sha256="668dc4782432564c35ad0d32748f972248cc5c5448c9009faeb3445282920e02")
conflicts("%gcc@:9", msg="C++ 20 is required")
build_targets = ["STATIC=true", "VERBOSE=true"]
@property
def install_targets(self):
return [f"PREFIX={self.prefix}", "install"]
|