Add new package: procps-ng (#18921)

This commit is contained in:
darmac 2020-09-25 00:43:06 +08:00 committed by GitHub
parent c4d3b59166
commit 928e46088c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)