summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/quota/package.py
blob: af60d07634859e796e8390ce1c024991185c5d03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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 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)