diff options
Diffstat (limited to 'meta/recipes-devtools/flex/flex.inc')
-rw-r--r-- | meta/recipes-devtools/flex/flex.inc | 22 |
1 files changed, 22 insertions, 0 deletions
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 | } | ||