summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2021-03-21 05:35:00 +0800
committerGitHub <noreply@github.com>2021-03-20 22:35:00 +0100
commit4a957509dbabb64f9b3eb5f6b46db5352a2c7223 (patch)
treeae4142f4f71a77dca1862cccd14bf4d76e886aca /var
parent9af0b11b86b5b9d81729f312a779778e86e4e516 (diff)
downloadspack-4a957509dbabb64f9b3eb5f6b46db5352a2c7223.tar.gz
spack-4a957509dbabb64f9b3eb5f6b46db5352a2c7223.tar.bz2
spack-4a957509dbabb64f9b3eb5f6b46db5352a2c7223.tar.xz
spack-4a957509dbabb64f9b3eb5f6b46db5352a2c7223.zip
libnfsidmap: new package (#22152)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libnfsidmap/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libnfsidmap/package.py b/var/spack/repos/builtin/packages/libnfsidmap/package.py
new file mode 100644
index 0000000000..fa53aaa60f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libnfsidmap/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 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 Libnfsidmap(AutotoolsPackage):
+ """Library to help mapping id's, mainly for NFSv4."""
+
+ homepage = "https://github.com/Distrotech/libnfsidmap/"
+ url = "https://github.com/Distrotech/libnfsidmap/archive/libnfsidmap-0-27-rc2.tar.gz"
+
+ version('0-26', sha256='8c6d62285b528d673fcb8908fbe230ae82287b292d90925d014c6f367e8425ef')
+ version('0-25', sha256='dbf844a2aa820d7275eca55c2e392d12453ab4020d37d532ea6beac47efc4725')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+
+ def autoreconf(self, spec, prefix):
+ bash = which('bash')
+ bash('./autogen.sh')