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


class Quota(AutotoolsPackage):
    """Linux Diskquota system as part of the Linux kernel."""

    homepage = "https://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)