summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-25 00:42:42 +0800
committerGitHub <noreply@github.com>2020-09-24 11:42:42 -0500
commitc4d3b59166b93271ef14982b64ca9d7221525bcc (patch)
tree614cc944a409c12f3c1380165c2c2d29aa8dc5a1
parenta0c32e6ed7d446d0cb820c0faa56a42e6a911a9f (diff)
downloadspack-c4d3b59166b93271ef14982b64ca9d7221525bcc.tar.gz
spack-c4d3b59166b93271ef14982b64ca9d7221525bcc.tar.bz2
spack-c4d3b59166b93271ef14982b64ca9d7221525bcc.tar.xz
spack-c4d3b59166b93271ef14982b64ca9d7221525bcc.zip
Add new package: quota (#18922)
-rw-r--r--var/spack/repos/builtin/packages/quota/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/quota/package.py b/var/spack/repos/builtin/packages/quota/package.py
new file mode 100644
index 0000000000..edbe3f7528
--- /dev/null
+++ b/var/spack/repos/builtin/packages/quota/package.py
@@ -0,0 +1,18 @@
+# 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 Quota(AutotoolsPackage):
+ """Linux Diskquota system as part of the Linux kernel."""
+
+ homepage = "http://sourceforge.net/projects/linuxquota"
+ url = "https://udomain.dl.sourceforge.net/project/linuxquota/quota-tools/4.05/quota-4.05.tar.gz"
+
+ version('4.05', sha256='ef3b5b5d1014ed1344b46c1826145e20cbef8db967b522403c9a060761cf7ab9')
+
+ def setup_run_environment(self, env):
+ env.prepend_path('PATH', self.prefix.sbin)