summaryrefslogtreecommitdiff
path: root/package/flex/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-11-10 17:43:24 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-11-10 17:43:24 +0100
commita86dedf2775bce14a15612fe448342892c12a330 (patch)
treeafa1d0d80ce78715a091ff10126f76fe5403e5ae /package/flex/Makefile
parent60d3e1f78181f8a5b55c11283edbfc29eff572b6 (diff)
parente718329929fd7ae778d6e73a04876dfacd70c581 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/flex/Makefile')
-rw-r--r--package/flex/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/flex/Makefile b/package/flex/Makefile
index 221f8b5bf..84bfb9c38 100644
--- a/package/flex/Makefile
+++ b/package/flex/Makefile
@@ -9,15 +9,19 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= 201d3f38758d95436cbc64903386de0b
PKG_DESCR:= fast lexical analyzer
PKG_SECTION:= lang
-PKG_BUILDDEP:= m4-host
+PKG_BUILDDEP:= m4-host flex-host
PKG_URL:= http://flex.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/}
PKG_OPTS:= dev
+include ${TOPDIR}/mk/host.mk
include ${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}))
+HOST_STYLE:= auto
+
flex-install:
${INSTALL_DIR} ${IDIR_FLEX}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/flex ${IDIR_FLEX}/usr/bin
@@ -26,4 +30,5 @@ flex-install:
${CP} ${WRKINST}/usr/lib/libfl.a \
${IDIR_FLEX_DEV}/usr/lib
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk