summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/mlocate/package.py
blob: 18751b214184587336d5f9e3c4b34c6527c77b92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2022 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 Mlocate(AutotoolsPackage):
    """mlocate is a locate/updatedb implementation.  The 'm' stands for "merging":
    updatedb reuses the existing database to avoid rereading most of the file
    system, which makes updatedb faster and does not trash the system caches as
    much."""

    homepage = "https://pagure.io/mlocate"
    url      = "https://releases.pagure.org/mlocate/mlocate-0.26.tar.xz"

    version('0.26', sha256='3063df79fe198fb9618e180c54baf3105b33d88fe602ff2d8570aaf944f1263e')
    version('0.25', sha256='ab95c111f9dba35b5690896180dd0a7639dbf07d70b862fcb0731264d9273951')
    version('0.24', sha256='5787bee846735e21ff57df9e345d5db73d684d2cea9efc0f387462ccfbc6796f')