Add license information based on COPYING and web page, including license file and hash.
Licensing from web page[1]: Grep is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. [1] https://www.gnu.org/software/grep/ Signed-off-by: Bruno Thomsen <[email protected]> --- rules/grep.make | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/rules/grep.make b/rules/grep.make index 7c6280a33368..a1dc4eb716a2 100644 --- a/rules/grep.make +++ b/rules/grep.make @@ -15,13 +15,16 @@ PACKAGES-$(PTXCONF_GREP) += grep # # Paths and names # -GREP_VERSION := 3.8 -GREP_MD5 := dc6e4d18d4659e6e7552fc4a183c8ac9 -GREP := grep-$(GREP_VERSION) -GREP_SUFFIX := tar.xz -GREP_URL := $(call ptx/mirror, GNU, grep/$(GREP).$(GREP_SUFFIX)) -GREP_SOURCE := $(SRCDIR)/$(GREP).$(GREP_SUFFIX) -GREP_DIR := $(BUILDDIR)/$(GREP) +GREP_VERSION := 3.8 +GREP_MD5 := dc6e4d18d4659e6e7552fc4a183c8ac9 +GREP := grep-$(GREP_VERSION) +GREP_SUFFIX := tar.xz +GREP_URL := $(call ptx/mirror, GNU, grep/$(GREP).$(GREP_SUFFIX)) +GREP_SOURCE := $(SRCDIR)/$(GREP).$(GREP_SUFFIX) +GREP_DIR := $(BUILDDIR)/$(GREP) +GREP_LICENSE := GPL-3.0-or-later +GREP_LICENSE_FILES := \ + file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464 # ---------------------------------------------------------------------------- # Prepare -- 2.41.0
