2017-05-26 04:02:47 +00:00
|
|
|
#
|
2016-03-16 09:26:51 +00:00
|
|
|
# Copyright (C) 2008-2016 OpenWrt.org
|
2010-12-17 02:41:16 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=flex
|
2017-09-28 02:55:46 +00:00
|
|
|
PKG_CPE_ID:=cpe:/a:flex_project:flex
|
2017-05-26 04:02:47 +00:00
|
|
|
PKG_VERSION:=2.6.4
|
2010-12-17 02:41:16 +00:00
|
|
|
|
2017-04-28 13:53:42 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2016-03-16 09:26:51 +00:00
|
|
|
PKG_SOURCE_URL:=https://github.com/westes/flex/releases/download/v$(PKG_VERSION)/
|
2017-05-26 04:02:47 +00:00
|
|
|
PKG_HASH:=e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995
|
2010-12-17 02:41:16 +00:00
|
|
|
|
2017-07-05 17:19:30 +00:00
|
|
|
HOST_FIXUP:=autoreconf
|
2012-09-15 14:18:01 +00:00
|
|
|
HOST_BUILD_PARALLEL:=1
|
|
|
|
|
2010-12-17 02:41:16 +00:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
2014-08-27 09:20:18 +00:00
|
|
|
HOST_CONFIGURE_ARGS += --disable-shared
|
2012-08-10 19:26:24 +00:00
|
|
|
|
2018-11-13 20:59:47 +00:00
|
|
|
define Host/Install
|
|
|
|
$(call Host/Install/Default)
|
|
|
|
$(LN) flex $(STAGING_DIR_HOST)/bin/lex
|
|
|
|
endef
|
|
|
|
|
2010-12-17 02:41:16 +00:00
|
|
|
define Host/Clean
|
|
|
|
-$(MAKE) -C $(HOST_BUILD_DIR) uninstall
|
|
|
|
$(call Host/Clean/Default)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|