summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-24 10:02:22 +0800
committerGitHub <noreply@github.com>2020-09-23 21:02:22 -0500
commit7fcd32aa6c85f70fa9f20a245bde0a3a8150fea0 (patch)
tree22c8fe7219e501a891b02b6234fca26366297c08 /var
parent5e8ac6c2614e7eb8653bf4bd9978bb6a2306bdc5 (diff)
downloadspack-7fcd32aa6c85f70fa9f20a245bde0a3a8150fea0.tar.gz
spack-7fcd32aa6c85f70fa9f20a245bde0a3a8150fea0.tar.bz2
spack-7fcd32aa6c85f70fa9f20a245bde0a3a8150fea0.tar.xz
spack-7fcd32aa6c85f70fa9f20a245bde0a3a8150fea0.zip
Add new package: libcap-ng (#18752)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libcap-ng/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libcap-ng/package.py b/var/spack/repos/builtin/packages/libcap-ng/package.py
new file mode 100644
index 0000000000..e5dc1ca1d5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libcap-ng/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 LibcapNg(AutotoolsPackage):
+ """Libcap-ng is a library that makes using posix capabilities easier"""
+
+ homepage = "https://github.com/stevegrubb/libcap-ng/"
+ url = "https://github.com/stevegrubb/libcap-ng/archive/v0.8.tar.gz"
+
+ version('0.8', sha256='836ea8188ae7c658cdf003e62a241509dd542f3dec5bc40c603f53a5aadaa93f')
+ version('0.7.11', sha256='78f32ff282b49b7b91c56d317fb6669df26da332c6fc9462870cec2573352222')
+ version('0.7.10', sha256='c3c156a215e5be5430b2f3b8717bbd1afdabe458b6068a8d163e71cefe98fc32')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+ depends_on('attr', type='build')
+ depends_on('python', type=('build', 'run'))