2 # Copyright (C) 2010-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
15 PKG_SOURCE_URL
:=@GNU
/grep
16 PKG_HASH
:=667e15e8afe189e93f9f21a7cd3a7b3f776202f417330b248c2ad4f997d9373e
18 PKG_MAINTAINER
:=Julen Landa Alustiza
<julen@zokormazo.
info>
19 PKG_LICENSE
:=GPL-3.0
-or-later
20 PKG_LICENSE_FILES
:=COPYING
21 PKG_CPE_ID
:=cpe
:/a
:gnu
:grep
26 include $(INCLUDE_DIR
)/package.mk
31 TITLE
:=grep search utility
- full version
33 URL
:=https
://www.gnu.org
/software
/grep
/
35 300:/bin
/egrep
:/usr
/libexec
/egrep-gnu \
36 300:/bin
/fgrep
:/usr
/libexec
/fgrep-gnu \
37 300:/bin
/grep
:/usr
/libexec
/grep-gnu
40 define Package
/grep
/description
41 The grep command searches one or more input files for lines
42 containing a match to a specified pattern. By default
, grep
43 prints the matching lines.
46 define Package
/grep
/install
47 $(INSTALL_DIR
) $(1)/usr
/libexec
48 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/egrep
$(1)/usr
/libexec
/egrep-gnu
49 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/fgrep
$(1)/usr
/libexec
/fgrep-gnu
50 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/grep
$(1)/usr
/libexec
/grep-gnu
53 $(eval
$(call BuildPackage
,grep
))