summaryrefslogtreecommitdiff
path: root/packages/flex
diff options
context:
space:
mode:
Diffstat (limited to 'packages/flex')
-rw-r--r--packages/flex/flex-native_2.5.31.bb2
-rw-r--r--packages/flex/flex-native_2.5.4a.bb5
-rw-r--r--packages/flex/flex.inc15
-rw-r--r--packages/flex/flex_2.5.31.bb2
-rw-r--r--packages/flex/flex_2.5.4a.bb0
5 files changed, 15 insertions, 9 deletions
diff --git a/packages/flex/flex-native_2.5.31.bb b/packages/flex/flex-native_2.5.31.bb
index 46b89e0a2e..28dcda51d2 100644
--- a/packages/flex/flex-native_2.5.31.bb
+++ b/packages/flex/flex-native_2.5.31.bb
@@ -1,6 +1,4 @@
include flex.inc
inherit native
-SRC_URI = "${SOURCEFORGE_MIRROR}/lex/flex-${PV}.tar.bz2"
-S = "${WORKDIR}/flex-2.5.31"
PR = "r0"
diff --git a/packages/flex/flex-native_2.5.4a.bb b/packages/flex/flex-native_2.5.4a.bb
deleted file mode 100644
index 80827a24d2..0000000000
--- a/packages/flex/flex-native_2.5.4a.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-include flex.inc
-inherit native
-
-S = "${WORKDIR}/flex-2.5.4"
-PR = "r1"
diff --git a/packages/flex/flex.inc b/packages/flex/flex.inc
index e69de29bb2..41beef3245 100644
--- a/packages/flex/flex.inc
+++ b/packages/flex/flex.inc
@@ -0,0 +1,15 @@
+DESCRIPTION = "Flex is a tool for generating programs that recognize lexical patterns in text."
+SECTION = "devel"
+LICENSE = "BSD"
+
+SRC_URI = "http://mesh.dl.sf.net/lex/flex-2.5.31.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 ./flex ${STAGING_BINDIR}/lex
+}
diff --git a/packages/flex/flex_2.5.31.bb b/packages/flex/flex_2.5.31.bb
index b0ce4b98f8..b7c316fb1b 100644
--- a/packages/flex/flex_2.5.31.bb
+++ b/packages/flex/flex_2.5.31.bb
@@ -1,4 +1,2 @@
include flex.inc
PR = "r0"
-
-S = "${WORKDIR}/flex-2.5.31"
diff --git a/packages/flex/flex_2.5.4a.bb b/packages/flex/flex_2.5.4a.bb
deleted file mode 100644
index e69de29bb2..0000000000
--- a/packages/flex/flex_2.5.4a.bb
+++ /dev/null