]> code.ossystems Code Review - openembedded-core.git/commitdiff
flex: Clean up and convert to BBCLASSEXTEND
authorRichard Purdie <rpurdie@linux.intel.com>
Sat, 3 Jan 2009 18:32:32 +0000 (18:32 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Sat, 3 Jan 2009 18:32:32 +0000 (18:32 +0000)
meta/packages/flex/flex-native_2.5.31.bb [deleted file]
meta/packages/flex/flex.inc
meta/packages/flex/flex/fix-gen.patch [moved from meta/packages/flex/files/fix-gen.patch with 100% similarity]
meta/packages/flex/flex/flex-lvalue.diff [moved from meta/packages/flex/files/flex-lvalue.diff with 100% similarity]
meta/packages/flex/flex_2.5.31.bb

diff --git a/meta/packages/flex/flex-native_2.5.31.bb b/meta/packages/flex/flex-native_2.5.31.bb
deleted file mode 100644 (file)
index 1e9354a..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-require flex.inc
-inherit native
-PR = "r2"
-
-do_stage () {
-       install -m 0755 flex ${STAGING_BINDIR}
-       oe_libinstall -a libfl ${STAGING_LIBDIR}
-       ln -sf ./flex ${STAGING_BINDIR}/flex++
-       ln -sf ./flex ${STAGING_BINDIR}/lex
-}
index 048b3cb47d3752ec5672781fc16a3375e7fde6e3..0e8bf76e7667d7b5048413e60c1790a06908ad5c 100644 (file)
@@ -5,7 +5,6 @@ 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
+inherit autotools_stage
 
index 3062e2d8dc5e8ed970603091db0d7e5ad05f6e62..7ca7c7ee30bdb28c3e1029ff27b6a925e71878ae 100644 (file)
@@ -1,9 +1,6 @@
 require flex.inc
-PR = "r4"
+PR = "r5"
 
 SRC_URI += "file://include.patch;patch=1"
 
-do_stage() {
-       oe_libinstall -a libfl ${STAGING_LIBDIR}
-}
-
+BBCLASSEXTEND = "native"