summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-25 00:43:06 +0800
committerGitHub <noreply@github.com>2020-09-24 11:43:06 -0500
commit928e46088c12c7dacbcac3b852c9ce693af9a729 (patch)
treedcb3b2824a089e1b89cbff6e106435518bf942dc
parentc4d3b59166b93271ef14982b64ca9d7221525bcc (diff)
downloadspack-928e46088c12c7dacbcac3b852c9ce693af9a729.tar.gz
spack-928e46088c12c7dacbcac3b852c9ce693af9a729.tar.bz2
spack-928e46088c12c7dacbcac3b852c9ce693af9a729.tar.xz
spack-928e46088c12c7dacbcac3b852c9ce693af9a729.zip
Add new package: procps-ng (#18921)
-rw-r--r--var/spack/repos/builtin/packages/procps-ng/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/procps-ng/package.py b/var/spack/repos/builtin/packages/procps-ng/package.py
new file mode 100644
index 0000000000..883a81df75
--- /dev/null
+++ b/var/spack/repos/builtin/packages/procps-ng/package.py
@@ -0,0 +1,18 @@
+# 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 ProcpsNg(AutotoolsPackage):
+ """Utilities that provide system information."""
+
+ homepage = "https://sourceforge.net/projects/procps-ng"
+ url = "https://udomain.dl.sourceforge.net/project/procps-ng/Production/procps-ng-3.3.16.tar.xz"
+
+ version('3.3.16', sha256='925eacd65dedcf9c98eb94e8978bbfb63f5de37294cc1047d81462ed477a20af')
+
+ def setup_run_environment(self, env):
+ env.prepend_path('PATH', self.prefix.sbin)