grep: update to 3.4 11341/head
authorRosen Penev <rosenp@gmail.com>
Sat, 15 Feb 2020 00:01:54 +0000 (16:01 -0800)
committerRosen Penev <rosenp@gmail.com>
Sat, 15 Feb 2020 00:09:15 +0000 (16:09 -0800)
Fix license information.

Install e/fgrep symlinks as well.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/grep/Makefile

index cd0fe6e76443257a5a5cd29a508a818e7187498f..f649690de3cc3529030e1fc0f990702d40037325 100644 (file)
@@ -8,15 +8,15 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=grep
-PKG_VERSION:=3.3
+PKG_VERSION:=3.4
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@GNU/grep
-PKG_HASH:=b960541c499619efd6afe1fa795402e4733c8e11ebf9fafccc0bb4bccdc5b514
+PKG_HASH:=58e6751c41a7c25bfc6e9363a41786cff3ba5709cf11d5ad903cf7cce31cc3fb
 
 PKG_MAINTAINER:=Julen Landa Alustiza <julen@zokormazo.info>
-PKG_LICENSE:=GPL-3.0
+PKG_LICENSE:=GPL-3.0-or-later
 PKG_LICENSE_FILES:=COPYING
 PKG_CPE_ID:=cpe:/a:gnu:grep
 
@@ -41,7 +41,7 @@ endef
 
 define Package/grep/install
        $(INSTALL_DIR) $(1)/usr/bin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/grep $(1)/usr/bin/grep
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
 endef
 
 define Package/grep/postinst