summaryrefslogtreecommitdiff
path: root/package/flex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/flex/Makefile')
-rw-r--r--package/flex/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/package/flex/Makefile b/package/flex/Makefile
index 81ad60060..a25378e81 100644
--- a/package/flex/Makefile
+++ b/package/flex/Makefile
@@ -4,17 +4,19 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= flex
-PKG_VERSION:= 2.6.1
+PKG_VERSION:= 2.6.2
PKG_RELEASE:= 1
-PKG_HASH:= 2c7a412c1640e094cb058d9b2fe39d450186e09574bebb7aa28f783e3799103f
+PKG_HASH:= 9a01437a1155c799b7dc2508620564ef806ba66250c36bf5f9034b1c207cb2c9
PKG_DESCR:= fast lexical analyzer
PKG_SECTION:= dev/tools
PKG_BUILDDEP:= m4-host
-HOST_BUILDDEP:= m4-host autoconf-host libtool-host
+HOST_BUILDDEP:= m4-host bison-host patch-host
PKG_URL:= https://github.com/westes/flex
-PKG_SITES:= https://github.com/westes/flex/releases/download/v2.6.1/
+PKG_SITES:= https://github.com/westes/flex/releases/download/v$(PKG_VERSION)/
PKG_OPTS:= dev
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
@@ -22,8 +24,9 @@ $(eval $(call HOST_template,FLEX,flex,$(PKG_VERSION)-$(PKG_RELEASE)))
$(eval $(call PKG_template,FLEX,flex,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
AUTOTOOL_STYLE:= autoreconf
-HOST_MAKE_FLAGS+= STAGE1FLEX=$(WRKSRC)/src/stage1flex
+HOST_MAKE_FLAGS+= STAGE1FLEX=$(WRKSRC)/src/stage1flex
MAKE_FLAGS+= STAGE1FLEX=$(STAGING_HOST_DIR)/usr/bin/stage1flex
+CONFIGURE_ENV+= ac_cv_path_HELP2MAN=true
CONFIGURE_ARGS+= --disable-shared
hostpost-install: