summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-25 00:48:50 +0800
committerGitHub <noreply@github.com>2020-09-24 11:48:50 -0500
commit72203e529f083cbc9427b02348cc178e4443031c (patch)
treed93c425606102af47803dc5c995ef8f86a0cf6a8 /var
parent93e989316ec012cd1acc73ed9b491d904812f6bb (diff)
downloadspack-72203e529f083cbc9427b02348cc178e4443031c.tar.gz
spack-72203e529f083cbc9427b02348cc178e4443031c.tar.bz2
spack-72203e529f083cbc9427b02348cc178e4443031c.tar.xz
spack-72203e529f083cbc9427b02348cc178e4443031c.zip
Add new package: libuser (#18916)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libuser/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libuser/package.py b/var/spack/repos/builtin/packages/libuser/package.py
new file mode 100644
index 0000000000..b97f5e2ba6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libuser/package.py
@@ -0,0 +1,24 @@
+# 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 Libuser(AutotoolsPackage):
+ """A user and group account administration library."""
+
+ homepage = "https://pagure.io/libuser"
+ url = "http://releases.pagure.org/libuser/libuser-0.62.tar.xz"
+
+ version('0.62', sha256='a58ff4fabb01a25043b142185a33eeea961109dd60d4b40b6a9df4fa3cace20b')
+ version('0.61', sha256='0a114a52446e12781e2ffdf26f59df0d14e7809c7db5e551d3cf61c4e398751d')
+ version('0.60', sha256='b1f73408ebfee79eb01a47c5879a2cdef6a00b75ee24870de7df1b816ff483eb')
+
+ depends_on('glib')
+ depends_on('linux-pam')
+ depends_on('popt')
+
+ def setup_run_environment(self, env):
+ env.prepend_path('PATH', self.prefix.sbin)