flex: remove version specifics from generic inc
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 8 Feb 2010 21:14:30 +0000 (22:14 +0100)
committerPhil Blundell <philb@gnu.org>
Tue, 9 Feb 2010 11:34:08 +0000 (11:34 +0000)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
recipes/flex/flex-native_2.5.31.bb
recipes/flex/flex.inc
recipes/flex/flex_2.5.31.bb

index 1e9354a..de3f215 100644 (file)
@@ -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}
index 4ebd44a..37e34fe 100644 (file)
@@ -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
index e247a03..ae9e6f9 100644 (file)
@@ -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}