summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flex/flex-native_2.5.31.oe14
1 files changed, 14 insertions, 0 deletions
diff --git a/flex/flex-native_2.5.31.oe b/flex/flex-native_2.5.31.oe
index e69de29bb2..764f577248 100644
--- a/flex/flex-native_2.5.31.oe
+++ b/flex/flex-native_2.5.31.oe
@@ -0,0 +1,14 @@
+DESCRIPTION = "Flex is a tool for generating programs that recognize lexical patterns in text."
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/lex/flex-${PV}.tar.bz2"
+S = "${WORKDIR}/flex-${PV}"
+
+inherit native autotools
+
+do_stage () {
+ install -m 0755 flex ${STAGING_BINDIR}
+ oe_libinstall -a libfl ${STAGING_LIBDIR}
+ ln -sf ./flex ${STAGING_BINDIR}/flex++
+ ln -sf ./lex ${STAGING_BINDIR}/lex
+}