summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/flex
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/flex')
-rw-r--r--meta/recipes-devtools/flex/files/do_not_create_pdf_doc.patch17
-rw-r--r--meta/recipes-devtools/flex/flex.inc22
-rw-r--r--meta/recipes-devtools/flex/flex_2.5.37.bb9
3 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-devtools/flex/files/do_not_create_pdf_doc.patch b/meta/recipes-devtools/flex/files/do_not_create_pdf_doc.patch
new file mode 100644
index 0000000000..02ececb0b4
--- /dev/null
+++ b/meta/recipes-devtools/flex/files/do_not_create_pdf_doc.patch
@@ -0,0 +1,17 @@
1Upstream-Status: Inapropriate (embedded specific)
2
3Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
4
5Index: flex-2.5.37/doc/Makefile.am
6===================================================================
7--- flex-2.5.37.orig/doc/Makefile.am 2012-07-21 04:18:27.000000000 +0300
8+++ flex-2.5.37/doc/Makefile.am 2013-07-30 17:57:09.834834531 +0300
9@@ -2,7 +2,7 @@
10
11 info_TEXINFOS = flex.texi
12 dist_man_MANS = flex.1
13-dist_doc_DATA= flex.pdf
14+EXTRA_DIST= flex.pdf
15
16 CLEANFILES = \
17 flex.hks \
diff --git a/meta/recipes-devtools/flex/flex.inc b/meta/recipes-devtools/flex/flex.inc
new file mode 100644
index 0000000000..43f1dda01c
--- /dev/null
+++ b/meta/recipes-devtools/flex/flex.inc
@@ -0,0 +1,22 @@
1SUMMARY = "Flex (The Fast Lexical Analyzer)"
2DESCRIPTION = "Flex is a fast lexical analyser generator. Flex is a tool for generating programs that recognize \
3lexical patterns in text."
4HOMEPAGE = "http://sourceforge.net/projects/flex/"
5
6SECTION = "devel"
7LICENSE = "BSD"
8
9SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 "
10
11inherit autotools gettext
12
13M4 = "${bindir}/m4"
14M4_class-native = "${STAGING_BINDIR_NATIVE}/m4"
15
16do_install_append_class-native() {
17 create_wrapper ${D}/${bindir}/flex M4=${M4}
18}
19
20do_install_append_class-nativesdk() {
21 create_wrapper ${D}/${bindir}/flex M4=${M4}
22}
diff --git a/meta/recipes-devtools/flex/flex_2.5.37.bb b/meta/recipes-devtools/flex/flex_2.5.37.bb
new file mode 100644
index 0000000000..c3b5e46cbb
--- /dev/null
+++ b/meta/recipes-devtools/flex/flex_2.5.37.bb
@@ -0,0 +1,9 @@
1require flex.inc
2LICENSE="BSD"
3LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067"
4BBCLASSEXTEND = "native nativesdk"
5
6SRC_URI += "file://do_not_create_pdf_doc.patch"
7
8SRC_URI[md5sum] = "c75940e1fc25108f2a7b3ef42abdae06"
9SRC_URI[sha256sum] = "17aa7b4ebf19a13bc2dff4115b416365c95f090061539a932a68092349ac052a"