summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-25 00:41:53 +0800
committerGitHub <noreply@github.com>2020-09-24 11:41:53 -0500
commite0dd5ce68a75772f24b1ba2cb49479d389d36c1b (patch)
treeb62585552565b5bc8fb65285c9ba3bfeae8ad43a
parentfb7f07b27ce5c24961878328abb1416318138065 (diff)
downloadspack-e0dd5ce68a75772f24b1ba2cb49479d389d36c1b.tar.gz
spack-e0dd5ce68a75772f24b1ba2cb49479d389d36c1b.tar.bz2
spack-e0dd5ce68a75772f24b1ba2cb49479d389d36c1b.tar.xz
spack-e0dd5ce68a75772f24b1ba2cb49479d389d36c1b.zip
Add new package: acct (#18924)
-rw-r--r--var/spack/repos/builtin/packages/acct/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/acct/package.py b/var/spack/repos/builtin/packages/acct/package.py
new file mode 100644
index 0000000000..5a0c147f25
--- /dev/null
+++ b/var/spack/repos/builtin/packages/acct/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2020 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 import *
+
+
+class Acct(AutotoolsPackage):
+ """Utilities for monitoring process activities."""
+
+ homepage = "http://www.gnu.org/software/acct"
+ url = "https://ftp.gnu.org/gnu/acct/acct-6.6.4.tar.gz"
+
+ 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)