The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / grep / grep.mk
1 ################################################################################
2 #
3 # grep
4 #
5 ################################################################################
6
7 GREP_VERSION = 2.21
8 GREP_SITE = $(BR2_GNU_MIRROR)/grep
9 GREP_SOURCE = grep-$(GREP_VERSION).tar.xz
10 GREP_LICENSE = GPLv3+
11 GREP_LICENSE_FILES = COPYING
12 GREP_CONF_OPTS = --disable-perl-regexp \
13         $(if $(BR2_TOOLCHAIN_USES_MUSL),--with-included-regex)
14 GREP_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
15
16 # link with iconv if enabled
17 ifeq ($(BR2_PACKAGE_LIBICONV),y)
18 GREP_CONF_ENV += LIBS=-liconv
19 GREP_DEPENDENCIES += libiconv
20 endif
21
22 # link with pcre if enabled
23 ifeq ($(BR2_PACKAGE_PCRE),y)
24 GREP_CONF_OPTS += --enable-perl-regexp
25 GREP_DEPENDENCIES += pcre
26 endif
27
28 # Full grep preferred over busybox grep
29 ifeq ($(BR2_PACKAGE_BUSYBOX),y)
30 GREP_DEPENDENCIES += busybox
31 endif
32
33 $(eval $(autotools-package))