summaryrefslogtreecommitdiff
path: root/package/flex
diff options
context:
space:
mode:
Diffstat (limited to 'package/flex')
-rw-r--r--package/flex/Config.in6
-rw-r--r--package/flex/Makefile27
2 files changed, 33 insertions, 0 deletions
diff --git a/package/flex/Config.in b/package/flex/Config.in
new file mode 100644
index 000000000..6be8e22ea
--- /dev/null
+++ b/package/flex/Config.in
@@ -0,0 +1,6 @@
+config ADK_PACKAGE_FLEX
+ prompt "flex.............................. Fast lexical analyzer"
+ tristate
+ default n
+ help
+ http://www.gnu.org/software/flex/
diff --git a/package/flex/Makefile b/package/flex/Makefile
new file mode 100644
index 000000000..bb2eda080
--- /dev/null
+++ b/package/flex/Makefile
@@ -0,0 +1,27 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= flex
+PKG_VERSION:= 2.5.35
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 201d3f38758d95436cbc64903386de0b
+PKG_DESCR:= fast lexical analyzer
+PKG_SECTION:= utils
+PKG_URL:= http://flex.sourceforge.net/
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,FLEX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_STYLE:= gnu
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_FLEX}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/flex ${IDIR_FLEX}/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk