summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-10-11 10:00:54 +0800
committerGitHub <noreply@github.com>2020-10-10 21:00:54 -0500
commite8306e8f22a217ec8424fb126fcee63967293d3f (patch)
tree80ba2df16496c719f77f257c66cf025ee52c9273
parentec6f13aefad4cf0d52eb310e5ebf610c66f50381 (diff)
downloadspack-e8306e8f22a217ec8424fb126fcee63967293d3f.tar.gz
spack-e8306e8f22a217ec8424fb126fcee63967293d3f.tar.bz2
spack-e8306e8f22a217ec8424fb126fcee63967293d3f.tar.xz
spack-e8306e8f22a217ec8424fb126fcee63967293d3f.zip
Add new package: less (#18952)
-rw-r--r--var/spack/repos/builtin/packages/less/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/less/package.py b/var/spack/repos/builtin/packages/less/package.py
new file mode 100644
index 0000000000..2ed378ca06
--- /dev/null
+++ b/var/spack/repos/builtin/packages/less/package.py
@@ -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 Less(AutotoolsPackage):
+ """The less utility is a text file browser that resembles more, but
+ has more capabilities. Less allows you to move backwards in the
+ file aswell as forwards."""
+
+ homepage = "http://www.greenwoodsoftware.com/less/"
+ url = "http://www.greenwoodsoftware.com/less/less-551.zip"
+
+ version('551', sha256='2630db16ef188e88b513b3cc24daa9a798c45643cc7da06e549c9c00cfd84244')
+ version('530', sha256='8c1652ba88a726314aa2616d1c896ca8fe9a30253a5a67bc21d444e79a6c6bc3')