From 6a4423e62851a3b4299096e5c9787079ad5e018a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 23 Jun 2014 12:32:19 +0200 Subject: create a symlink for lex --- package/flex/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'package/flex') 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 -- cgit v1.2.3