2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2003-02-15 13:36:32 +01:00
|
|
|
#
|
|
|
|
# grep
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2003-02-15 13:36:32 +01:00
|
|
|
|
2012-09-07 06:48:53 +02:00
|
|
|
GREP_VERSION = 2.14
|
2010-12-17 17:24:10 +01:00
|
|
|
GREP_SITE = $(BR2_GNU_MIRROR)/grep
|
2012-01-24 17:29:07 +01:00
|
|
|
GREP_SOURCE = grep-$(GREP_VERSION).tar.xz
|
2012-09-07 06:48:53 +02:00
|
|
|
GREP_LICENSE = GPLv3+
|
|
|
|
GREP_LICENSE_FILES = COPYING
|
2010-12-17 17:24:10 +01:00
|
|
|
GREP_CONF_OPT = --disable-perl-regexp --without-included-regex
|
2012-09-16 14:57:49 +02:00
|
|
|
GREP_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
|
2003-02-15 13:36:32 +01:00
|
|
|
|
2010-12-25 22:33:20 +01:00
|
|
|
# link with iconv if enabled
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
|
|
|
GREP_CONF_ENV += LIBS=-liconv
|
|
|
|
GREP_DEPENDENCIES += libiconv
|
|
|
|
endif
|
|
|
|
|
2011-11-13 23:27:56 +01:00
|
|
|
# Full grep preferred over busybox grep
|
|
|
|
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
|
|
|
GREP_DEPENDENCIES += busybox
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|