Add new package: quota (#18922)

This commit is contained in:
darmac 2020-09-25 00:42:42 +08:00 committed by GitHub
parent a0c32e6ed7
commit c4d3b59166
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)