2
1

grep.mk 497 B

123456789101112131415161718
  1. #############################################################
  2. #
  3. # grep
  4. #
  5. #############################################################
  6. GREP_VERSION = 2.7
  7. GREP_SITE = $(BR2_GNU_MIRROR)/grep
  8. GREP_CONF_OPT = --disable-perl-regexp --without-included-regex
  9. GREP_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl)
  10. # link with iconv if enabled
  11. ifeq ($(BR2_PACKAGE_LIBICONV),y)
  12. GREP_CONF_ENV += LIBS=-liconv
  13. GREP_DEPENDENCIES += libiconv
  14. endif
  15. $(eval $(call AUTOTARGETS,package,grep))