diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-09-25 00:42:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 11:42:42 -0500 |
commit | c4d3b59166b93271ef14982b64ca9d7221525bcc (patch) | |
tree | 614cc944a409c12f3c1380165c2c2d29aa8dc5a1 /var/spack | |
parent | a0c32e6ed7d446d0cb820c0faa56a42e6a911a9f (diff) | |
download | spack-c4d3b59166b93271ef14982b64ca9d7221525bcc.tar.gz spack-c4d3b59166b93271ef14982b64ca9d7221525bcc.tar.bz2 spack-c4d3b59166b93271ef14982b64ca9d7221525bcc.tar.xz spack-c4d3b59166b93271ef14982b64ca9d7221525bcc.zip |
Add new package: quota (#18922)
Diffstat (limited to 'var/spack')
-rw-r--r-- | var/spack/repos/builtin/packages/quota/package.py | 18 |
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) |