summaryrefslogtreecommitdiff
path: root/flex
diff options
context:
space:
mode:
Diffstat (limited to 'flex')
-rw-r--r--flex/flex-2.5.4-native_2.5.4a.oe12
-rw-r--r--flex/flex-native_2.5.31.oe1
-rw-r--r--flex/flex-native_2.5.4a.oe15
3 files changed, 28 insertions, 0 deletions
diff --git a/flex/flex-2.5.4-native_2.5.4a.oe b/flex/flex-2.5.4-native_2.5.4a.oe
index e69de29bb2..123b158555 100644
--- a/flex/flex-2.5.4-native_2.5.4a.oe
+++ b/flex/flex-2.5.4-native_2.5.4a.oe
@@ -0,0 +1,12 @@
+SECTION = "devel"
+DESCRIPTION = "Flex is a tool for generating programs that recognize lexical patterns in text."
+PR = "r0"
+
+SRC_URI = "ftp://ftp.gnu.org/non-gnu/flex/flex-${PV}.tar.gz"
+S = "${WORKDIR}/flex-2.5.4"
+
+inherit native autotools
+
+do_stage () {
+ install -m 0755 flex ${STAGING_BINDIR}/flex-2.5.4
+}
diff --git a/flex/flex-native_2.5.31.oe b/flex/flex-native_2.5.31.oe
index 962d79c647..dfb5b07385 100644
--- a/flex/flex-native_2.5.31.oe
+++ b/flex/flex-native_2.5.31.oe
@@ -1,3 +1,4 @@
+SECTION = "devel"
DESCRIPTION = "Flex is a tool for generating programs that recognize lexical patterns in text."
PR = "r2"
diff --git a/flex/flex-native_2.5.4a.oe b/flex/flex-native_2.5.4a.oe
index e69de29bb2..cf4115598e 100644
--- a/flex/flex-native_2.5.4a.oe
+++ b/flex/flex-native_2.5.4a.oe
@@ -0,0 +1,15 @@
+SECTION = "devel"
+DESCRIPTION = "Flex is a tool for generating programs that recognize lexical patterns in text."
+PR = "r0"
+
+SRC_URI = "ftp://ftp.gnu.org/non-gnu/flex/flex-${PV}.tar.gz"
+S = "${WORKDIR}/flex-2.5.4"
+
+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 ./flex ${STAGING_BINDIR}/lex
+}