From e2e6f6fe07049f33cb6348780fa975162752e421 Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 12 Dec 2013 13:38:32 +0100 Subject: initial commit of Enea Linux 3.1 Migrated from the internal git server on the dora-enea branch Signed-off-by: Adrian Dudau --- .../flex/files/do_not_create_pdf_doc.patch | 17 +++++++++++++++++ meta/recipes-devtools/flex/flex.inc | 22 ++++++++++++++++++++++ meta/recipes-devtools/flex/flex_2.5.37.bb | 9 +++++++++ 3 files changed, 48 insertions(+) create mode 100644 meta/recipes-devtools/flex/files/do_not_create_pdf_doc.patch create mode 100644 meta/recipes-devtools/flex/flex.inc create mode 100644 meta/recipes-devtools/flex/flex_2.5.37.bb (limited to 'meta/recipes-devtools/flex') 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 @@ +Upstream-Status: Inapropriate (embedded specific) + +Signed-off-by: Laurentiu Palcu + +Index: flex-2.5.37/doc/Makefile.am +=================================================================== +--- flex-2.5.37.orig/doc/Makefile.am 2012-07-21 04:18:27.000000000 +0300 ++++ flex-2.5.37/doc/Makefile.am 2013-07-30 17:57:09.834834531 +0300 +@@ -2,7 +2,7 @@ + + info_TEXINFOS = flex.texi + dist_man_MANS = flex.1 +-dist_doc_DATA= flex.pdf ++EXTRA_DIST= flex.pdf + + CLEANFILES = \ + 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 @@ +SUMMARY = "Flex (The Fast Lexical Analyzer)" +DESCRIPTION = "Flex is a fast lexical analyser generator. Flex is a tool for generating programs that recognize \ +lexical patterns in text." +HOMEPAGE = "http://sourceforge.net/projects/flex/" + +SECTION = "devel" +LICENSE = "BSD" + +SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 " + +inherit autotools gettext + +M4 = "${bindir}/m4" +M4_class-native = "${STAGING_BINDIR_NATIVE}/m4" + +do_install_append_class-native() { + create_wrapper ${D}/${bindir}/flex M4=${M4} +} + +do_install_append_class-nativesdk() { + create_wrapper ${D}/${bindir}/flex M4=${M4} +} 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 @@ +require flex.inc +LICENSE="BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067" +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += "file://do_not_create_pdf_doc.patch" + +SRC_URI[md5sum] = "c75940e1fc25108f2a7b3ef42abdae06" +SRC_URI[sha256sum] = "17aa7b4ebf19a13bc2dff4115b416365c95f090061539a932a68092349ac052a" -- cgit v1.2.3-54-g00ecf