From c45ecafd71025b9d5edce99f3c22a23e63fa5781 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sat, 5 Oct 2019 04:39:55 -0500 Subject: procps: new package (#13043) --- var/spack/repos/builtin/packages/procps/package.py | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 var/spack/repos/builtin/packages/procps/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/procps/package.py b/var/spack/repos/builtin/packages/procps/package.py new file mode 100644 index 0000000000..ff51b4e57a --- /dev/null +++ b/var/spack/repos/builtin/packages/procps/package.py @@ -0,0 +1,43 @@ +# Copyright 2013-2019 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 Procps(AutotoolsPackage): + """Command line and full screen utilities for browsing procfs, a "pseudo" + file system dynamically generated by the kernel to provide information + about the status of entries in its process table.""" + + homepage = "https://gitlab.com/procps-ng/procps" + git = "https://gitlab.com/procps-ng/procps.git" + + version('master', branch='master') + version('3.3.15', tag='v3.3.15') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + depends_on('pkgconfig@0.9.0:', type='build') + depends_on('dejagnu', type='test') + depends_on('libiconv') + depends_on('gettext') + depends_on('ncurses') + + conflicts('platform=darwin', msg='procps is linux-only') + + def autoreconf(self, spec, prefix): + sh = which('sh') + sh('autogen.sh') + + def configure_args(self): + return [ + '--with-libiconv-prefix={0}'.format(self.spec['libiconv'].prefix), + '--with-libintl-prefix={0}'.format(self.spec['gettext'].prefix), + '--with-ncurses', + # Required to avoid libintl linking errors + '--disable-nls', + ] -- cgit v1.2.3-60-g2f50