2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2003-02-12 11:40:28 +01:00
|
|
|
#
|
|
|
|
# flex
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-11-10 12:25:26 +01:00
|
|
|
|
2017-05-10 15:51:39 +02:00
|
|
|
FLEX_VERSION = 2.6.4
|
|
|
|
FLEX_SITE = https://github.com/westes/flex/files/981163
|
2011-11-10 12:25:26 +01:00
|
|
|
FLEX_INSTALL_STAGING = YES
|
2013-01-21 12:29:44 +01:00
|
|
|
FLEX_LICENSE = FLEX
|
|
|
|
FLEX_LICENSE_FILES = COPYING
|
2017-07-03 17:06:30 +02:00
|
|
|
FLEX_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-m4
|
2017-09-23 23:24:05 +02:00
|
|
|
FLEX_CONF_ENV = ac_cv_path_M4=/usr/bin/m4 \
|
|
|
|
ac_cv_func_reallocarray=no
|
2013-03-24 06:09:00 +01:00
|
|
|
HOST_FLEX_DEPENDENCIES = host-m4
|
2003-02-12 11:40:28 +01:00
|
|
|
|
2017-05-23 12:22:01 +02:00
|
|
|
define FLEX_DISABLE_PROGRAM
|
|
|
|
$(SED) 's/^bin_PROGRAMS.*//' $(@D)/src/Makefile.in
|
|
|
|
endef
|
|
|
|
FLEX_POST_PATCH_HOOKS += FLEX_DISABLE_PROGRAM
|
|
|
|
|
2014-07-29 03:35:34 +02:00
|
|
|
# flex++ symlink is broken when flex binary is not installed
|
|
|
|
define FLEX_REMOVE_BROKEN_SYMLINK
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/flex++
|
|
|
|
endef
|
|
|
|
FLEX_POST_INSTALL_TARGET_HOOKS += FLEX_REMOVE_BROKEN_SYMLINK
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|