summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-24 09:42:21 +0800
committerGitHub <noreply@github.com>2020-09-23 20:42:21 -0500
commit17c55f3d91cde8c0725c02b2c7294a99e9779916 (patch)
treee3203990c3eb10a1cfd985653f921d79ab35a799 /var
parent16c0375d707fd54d3a1bdafc3b53dbe64b10e151 (diff)
downloadspack-17c55f3d91cde8c0725c02b2c7294a99e9779916.tar.gz
spack-17c55f3d91cde8c0725c02b2c7294a99e9779916.tar.bz2
spack-17c55f3d91cde8c0725c02b2c7294a99e9779916.tar.xz
spack-17c55f3d91cde8c0725c02b2c7294a99e9779916.zip
Add new package: mlocate (#18788)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/mlocate/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mlocate/package.py b/var/spack/repos/builtin/packages/mlocate/package.py
new file mode 100644
index 0000000000..c33850fb31
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mlocate/package.py
@@ -0,0 +1,20 @@
+# 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 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')