summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-23 12:32:19 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-23 12:32:19 +0200
commit6a4423e62851a3b4299096e5c9787079ad5e018a (patch)
tree651280bb09d849724235ff0df70436800ee86d36
parentd396e83609a31925f5a7f513df52c7f6ac201f4b (diff)
create a symlink for lex
-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