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 / flex / flex.mk
1 ################################################################################
2 #
3 # flex
4 #
5 ################################################################################
6
7 FLEX_VERSION = 2.5.37
8 FLEX_SITE = http://download.sourceforge.net/project/flex
9 FLEX_INSTALL_STAGING = YES
10 FLEX_LICENSE = FLEX
11 FLEX_LICENSE_FILES = COPYING
12 FLEX_DEPENDENCIES = \
13         $(if $(BR2_PACKAGE_GETTEXT_IF_LOCALE),gettext) host-m4
14 FLEX_CONF_ENV = ac_cv_path_M4=/usr/bin/m4
15 # we don't have a host-gettext/libintl
16 HOST_FLEX_DEPENDENCIES = host-m4
17
18 define FLEX_DISABLE_PROGRAM
19         $(SED) 's/^bin_PROGRAMS.*//' $(@D)/Makefile.in
20 endef
21 FLEX_POST_PATCH_HOOKS += FLEX_DISABLE_PROGRAM
22
23 # flex++ symlink is broken when flex binary is not installed
24 define FLEX_REMOVE_BROKEN_SYMLINK
25         rm -f $(TARGET_DIR)/usr/bin/flex++
26 endef
27 FLEX_POST_INSTALL_TARGET_HOOKS += FLEX_REMOVE_BROKEN_SYMLINK
28
29 $(eval $(autotools-package))
30 $(eval $(host-autotools-package))