Move all to deprecated folder.
This commit is contained in:
11
deprecated/firmware/buildroot/package/grep/Config.in
Normal file
11
deprecated/firmware/buildroot/package/grep/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_GREP
|
||||
bool "grep"
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||
help
|
||||
The GNU regular expression matcher.
|
||||
|
||||
http://www.gnu.org/software/grep/grep.html
|
||||
|
||||
comment "grep needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
2
deprecated/firmware/buildroot/package/grep/grep.hash
Normal file
2
deprecated/firmware/buildroot/package/grep/grep.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking signature
|
||||
sha256 54fc478ee1ce17780109820ef30730c9e18715a949f7d5c6afc673adb2a56ecf grep-2.23.tar.xz
|
||||
33
deprecated/firmware/buildroot/package/grep/grep.mk
Normal file
33
deprecated/firmware/buildroot/package/grep/grep.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# grep
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GREP_VERSION = 2.23
|
||||
GREP_SITE = $(BR2_GNU_MIRROR)/grep
|
||||
GREP_SOURCE = grep-$(GREP_VERSION).tar.xz
|
||||
GREP_LICENSE = GPLv3+
|
||||
GREP_LICENSE_FILES = COPYING
|
||||
GREP_CONF_OPTS = --disable-perl-regexp \
|
||||
$(if $(BR2_TOOLCHAIN_USES_MUSL),--with-included-regex)
|
||||
GREP_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
|
||||
|
||||
# link with iconv if enabled
|
||||
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||
GREP_CONF_ENV += LIBS=-liconv
|
||||
GREP_DEPENDENCIES += libiconv
|
||||
endif
|
||||
|
||||
# link with pcre if enabled
|
||||
ifeq ($(BR2_PACKAGE_PCRE),y)
|
||||
GREP_CONF_OPTS += --enable-perl-regexp
|
||||
GREP_DEPENDENCIES += pcre
|
||||
endif
|
||||
|
||||
# Full grep preferred over busybox grep
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
GREP_DEPENDENCIES += busybox
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user