summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-03-19 02:12:40 +0800
committerGitHub <noreply@github.com>2020-03-18 13:12:40 -0500
commit9372783de679a1efa5215f12cb8b5cbe493397a2 (patch)
treee50a1b9f42c50608db55e9808b2f7fc3b5076fdf
parentb52b082627bf3a2a3bf8ca15e9229889204197d6 (diff)
downloadspack-9372783de679a1efa5215f12cb8b5cbe493397a2.tar.gz
spack-9372783de679a1efa5215f12cb8b5cbe493397a2.tar.bz2
spack-9372783de679a1efa5215f12cb8b5cbe493397a2.tar.xz
spack-9372783de679a1efa5215f12cb8b5cbe493397a2.zip
add new package: acl (#15514)
-rw-r--r--var/spack/repos/builtin/packages/acl/package.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/acl/package.py b/var/spack/repos/builtin/packages/acl/package.py
new file mode 100644
index 0000000000..ea9bf4172f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/acl/package.py
@@ -0,0 +1,30 @@
+# 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 Acl(AutotoolsPackage):
+ """Commands for Manipulating POSIX Access Control Lists."""
+
+ homepage = "https://savannah.nongnu.org/projects/acl"
+ url = "http://git.savannah.nongnu.org/cgit/acl.git/snapshot/acl-2.2.53.tar.gz"
+
+ version('2.2.53', sha256='9e905397ac10d06768c63edd0579c34b8431555f2ea8e8f2cee337b31f856805')
+ version('2.2.52', sha256='f3f31d2229c903184ff877aa0ee658b87ec20fec8aebb51e65eaa68d7b24e629')
+ version('2.2.51', sha256='31a43d96a274a39bfcb805fb903d45840515344884d224cef166b482693a9f48')
+ version('2.2.50', sha256='39e21d623a9f0da8c042cde346c01871b498d51400e92c2ab1490d5ffd724401')
+ version('2.2.49', sha256='c6e01460cac4e47673dd60a7f57b970b49f6998bb564eff141cca129aa8940d1')
+ version('2.2.48', sha256='877eaeccc1500baec58391935b46ac7dfc5ffd8c54fbc0385ccd8b2b18ac3fa6')
+
+ depends_on('m4', type='build')
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('attr')
+
+ def autoreconf(self, spec, prefix):
+ bash = which('bash')
+ bash('./autogen.sh')