2003-02-15 13:36:32 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# grep
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2010-12-17 17:24:10 +01:00
|
|
|
GREP_VERSION = 2.7
|
|
|
|
GREP_SITE = $(BR2_GNU_MIRROR)/grep
|
|
|
|
GREP_CONF_OPT = --disable-perl-regexp --without-included-regex
|
2010-05-24 21:17:55 +02:00
|
|
|
GREP_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl)
|
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-09-29 21:57:43 +02:00
|
|
|
$(eval $(call AUTOTARGETS))
|