2003-02-15 13:36:32 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# grep
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2012-01-24 17:29:07 +01:00
|
|
|
GREP_VERSION = 2.10
|
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
|
2010-12-17 17:24:10 +01:00
|
|
|
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-11-13 23:27:56 +01:00
|
|
|
# Full grep preferred over busybox grep
|
|
|
|
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
|
|
|
GREP_DEPENDENCIES += busybox
|
|
|
|
endif
|
|
|
|
|
2011-09-29 21:57:43 +02:00
|
|
|
$(eval $(call AUTOTARGETS))
|