blob: f907a8159ccf73b4a1d1a253c20f17618d55f54e [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "Text file viewer similar to more"
2DESCRIPTION = "Less is a program similar to more, i.e. a terminal \
3based program for viewing text files and the output from other \
4programs. Less offers many features beyond those that more does."
5HOMEPAGE = "http://www.greenwoodsoftware.com/"
6SECTION = "console/utils"
7
Andrew Geissler9aee5002022-03-30 16:27:02 +00008# (GPL-2.0-or-later (<< 418), GPL-3.0-or-later (>= 418)) | less
Andrew Geissler595f6302022-01-24 19:11:47 +00009# Including email author giving permissing to use BSD
10#
11# From: Mark Nudelman <markn@greenwoodsoftware.com>
12# To: Elizabeth Flanagan <elizabeth.flanagan@intel.com
13# Date: 12/19/11
14#
15# Hi Elizabeth,
16# Using a generic BSD license for less is fine with me.
17# Thanks,
18#
19# --Mark
20#
21
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000022LICENSE = "GPL-3.0-or-later | BSD-2-Clause"
Andrew Geissler595f6302022-01-24 19:11:47 +000023LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464 \
24 file://LICENSE;md5=38fc26d78ca8d284a2a5a4bbc263d29b \
25 "
26DEPENDS = "ncurses"
27
28SRC_URI = "http://www.greenwoodsoftware.com/${BPN}/${BPN}-${PV}.tar.gz \
Andrew Geissler6aa7eec2023-03-03 12:41:14 -060029 file://CVE-2022-46663.patch \
Andrew Geissler595f6302022-01-24 19:11:47 +000030 "
31
Andrew Geissler87f5cff2022-09-30 13:13:31 -050032SRC_URI[sha256sum] = "a69abe2e0a126777e021d3b73aa3222e1b261f10e64624d41ec079685a6ac209"
Andrew Geissler595f6302022-01-24 19:11:47 +000033
34UPSTREAM_CHECK_URI = "http://www.greenwoodsoftware.com/less/download.html"
Andrew Geissler595f6302022-01-24 19:11:47 +000035
36inherit autotools update-alternatives
37
38do_install () {
39 oe_runmake 'bindir=${D}${bindir}' 'mandir=${D}${mandir}' install
40}
41
42ALTERNATIVE:${PN} = "less"
43ALTERNATIVE_PRIORITY = "100"