summaryrefslogtreecommitdiff
path: root/flex/flex-native_2.5.4a.oe
diff options
context:
space:
mode:
Diffstat (limited to 'flex/flex-native_2.5.4a.oe')
-rw-r--r--flex/flex-native_2.5.4a.oe15
1 files changed, 15 insertions, 0 deletions
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
+}