diff options
Diffstat (limited to 'recipes/flex')
-rw-r--r-- | recipes/flex/flex-native_2.5.31.bb | 4 | ||||
-rw-r--r-- | recipes/flex/flex.inc | 3 | ||||
-rw-r--r-- | recipes/flex/flex_2.5.31.bb | 5 | ||||
-rw-r--r-- | recipes/flex/flex_2.5.35.bb | 10 |
4 files changed, 16 insertions, 6 deletions
diff --git a/recipes/flex/flex-native_2.5.31.bb b/recipes/flex/flex-native_2.5.31.bb index 1e9354afde..de3f215ea1 100644 --- a/recipes/flex/flex-native_2.5.31.bb +++ b/recipes/flex/flex-native_2.5.31.bb @@ -1,6 +1,6 @@ -require flex.inc +require flex_${PV}.bb inherit native -PR = "r2" +PR = "r3" do_stage () { install -m 0755 flex ${STAGING_BINDIR} diff --git a/recipes/flex/flex.inc b/recipes/flex/flex.inc index 4ebd44a61b..37e34fe462 100644 --- a/recipes/flex/flex.inc +++ b/recipes/flex/flex.inc @@ -2,9 +2,6 @@ DESCRIPTION = "Flex is a tool for generating programs that recognize lexical pat SECTION = "devel" LICENSE = "BSD" -SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-2.5.31.tar.bz2 \ - file://flex-lvalue.diff;patch=1 \ - file://fix-gen.patch;patch=1" S = "${WORKDIR}/flex-${PV}" inherit autotools diff --git a/recipes/flex/flex_2.5.31.bb b/recipes/flex/flex_2.5.31.bb index e247a03ee8..ae9e6f986b 100644 --- a/recipes/flex/flex_2.5.31.bb +++ b/recipes/flex/flex_2.5.31.bb @@ -1,7 +1,10 @@ require flex.inc PR = "r5" -SRC_URI += "file://include.patch;patch=1" +SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 \ + file://flex-lvalue.diff;patch=1 \ + file://fix-gen.patch;patch=1 \ + file://include.patch;patch=1" do_stage() { oe_libinstall -a libfl ${STAGING_LIBDIR} diff --git a/recipes/flex/flex_2.5.35.bb b/recipes/flex/flex_2.5.35.bb new file mode 100644 index 0000000000..4099f20658 --- /dev/null +++ b/recipes/flex/flex_2.5.35.bb @@ -0,0 +1,10 @@ +require flex.inc + +SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2;name=flex \ +" + +SRC_URI[flex.md5sum] = "10714e50cea54dc7a227e3eddcd44d57" +SRC_URI[flex.sha256sum] = "0becbd4b2b36b99c67f8c22ab98f7f80c9860aec70f0350a0018f29a88704e7b" + +NATIVE_INSTALL_WORKS = "1" +BBCLASSEXTEND = "native" |