diff options
Diffstat (limited to 'meta/recipes-devtools/flex')
-rw-r--r-- | meta/recipes-devtools/flex/files/do_not_create_pdf_doc.patch | 17 | ||||
-rw-r--r-- | meta/recipes-devtools/flex/flex.inc | 22 | ||||
-rw-r--r-- | meta/recipes-devtools/flex/flex_2.5.37.bb | 9 |
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 @@ | |||
1 | Upstream-Status: Inapropriate (embedded specific) | ||
2 | |||
3 | Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> | ||
4 | |||
5 | Index: 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 @@ | |||
1 | SUMMARY = "Flex (The Fast Lexical Analyzer)" | ||
2 | DESCRIPTION = "Flex is a fast lexical analyser generator. Flex is a tool for generating programs that recognize \ | ||
3 | lexical patterns in text." | ||
4 | HOMEPAGE = "http://sourceforge.net/projects/flex/" | ||
5 | |||
6 | SECTION = "devel" | ||
7 | LICENSE = "BSD" | ||
8 | |||
9 | SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 " | ||
10 | |||
11 | inherit autotools gettext | ||
12 | |||
13 | M4 = "${bindir}/m4" | ||
14 | M4_class-native = "${STAGING_BINDIR_NATIVE}/m4" | ||
15 | |||
16 | do_install_append_class-native() { | ||
17 | create_wrapper ${D}/${bindir}/flex M4=${M4} | ||
18 | } | ||
19 | |||
20 | do_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 @@ | |||
1 | require flex.inc | ||
2 | LICENSE="BSD" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067" | ||
4 | BBCLASSEXTEND = "native nativesdk" | ||
5 | |||
6 | SRC_URI += "file://do_not_create_pdf_doc.patch" | ||
7 | |||
8 | SRC_URI[md5sum] = "c75940e1fc25108f2a7b3ef42abdae06" | ||
9 | SRC_URI[sha256sum] = "17aa7b4ebf19a13bc2dff4115b416365c95f090061539a932a68092349ac052a" | ||