summaryrefslogtreecommitdiff
path: root/package/flex
diff options
context:
space:
mode:
Diffstat (limited to 'package/flex')
-rw-r--r--package/flex/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/flex/Makefile b/package/flex/Makefile
index 5a61cfc21..a9282001a 100644
--- a/package/flex/Makefile
+++ b/package/flex/Makefile
@@ -5,7 +5,7 @@ include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= flex
PKG_VERSION:= 2.5.35
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 201d3f38758d95436cbc64903386de0b
PKG_DESCR:= fast lexical analyzer
PKG_SECTION:= dev/tools
@@ -22,6 +22,9 @@ include ${ADK_TOPDIR}/mk/package.mk
$(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}))
+hostpost-install:
+ (cd $(STAGING_HOST_DIR)/usr/bin; ln -sf flex lex)
+
flex-install:
${INSTALL_DIR} ${IDIR_FLEX}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/flex ${IDIR_FLEX}/usr/bin