summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/acct/package.py
blob: 2f0181bd085114f98fbf2500a92680e8a8783cf0 (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-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 Acct(AutotoolsPackage):
    """Utilities for monitoring process activities."""

    homepage = "https://www.gnu.org/software/acct"
    url = "https://ftp.gnu.org/gnu/acct/acct-6.6.4.tar.gz"

    license("GPL-3.0-or-later")

    version("6.6.4", sha256="4c15bf2b58b16378bcc83f70e77d4d40ab0b194acf2ebeefdb507f151faa663f")
    version("6.6.3", sha256="5eae79323bf1ce403704d2b70483c46e7c853276ee7b5ad561ec3ccae9fca093")
    version("6.6.2", sha256="8ed47b2f893b08f0d67720880adbb48b835a826c314fa52fd52af1cee6870101")

    def setup_run_environment(self, env):
        env.prepend_path("PATH", self.prefix.sbin)

    def installcheck(self):
        """ "Runs standard check if all programs support --help but not all do"""
        pass