summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-01-03 18:32:32 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-03 18:32:32 +0000
commitd0cff01fba28a120bb353f89d18a9ea981e68a6a (patch)
tree9759111aea7bff2a0445ad29d04fe95f5e68c322 /meta/packages
parenta4ef0bb46a0f92dbad067389251ab73e6a1de651 (diff)
downloadopenembedded-core-d0cff01fba28a120bb353f89d18a9ea981e68a6a.tar.gz
openembedded-core-d0cff01fba28a120bb353f89d18a9ea981e68a6a.tar.bz2
openembedded-core-d0cff01fba28a120bb353f89d18a9ea981e68a6a.tar.xz
openembedded-core-d0cff01fba28a120bb353f89d18a9ea981e68a6a.zip
flex: Clean up and convert to BBCLASSEXTEND
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/flex/flex-native_2.5.31.bb10
-rw-r--r--meta/packages/flex/flex.inc3
-rw-r--r--meta/packages/flex/flex/fix-gen.patch (renamed from meta/packages/flex/files/fix-gen.patch)0
-rw-r--r--meta/packages/flex/flex/flex-lvalue.diff (renamed from meta/packages/flex/files/flex-lvalue.diff)0
-rw-r--r--meta/packages/flex/flex_2.5.31.bb7
5 files changed, 3 insertions, 17 deletions
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
index 1e9354afd..000000000
--- a/meta/packages/flex/flex-native_2.5.31.bb
+++ /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
-}
diff --git a/meta/packages/flex/flex.inc b/meta/packages/flex/flex.inc
index 048b3cb47..0e8bf76e7 100644
--- a/meta/packages/flex/flex.inc
+++ b/meta/packages/flex/flex.inc
@@ -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
diff --git a/meta/packages/flex/files/fix-gen.patch b/meta/packages/flex/flex/fix-gen.patch
index 55f4f6fdf..55f4f6fdf 100644
--- a/meta/packages/flex/files/fix-gen.patch
+++ b/meta/packages/flex/flex/fix-gen.patch
diff --git a/meta/packages/flex/files/flex-lvalue.diff b/meta/packages/flex/flex/flex-lvalue.diff
index 56ae539a6..56ae539a6 100644
--- a/meta/packages/flex/files/flex-lvalue.diff
+++ b/meta/packages/flex/flex/flex-lvalue.diff
diff --git a/meta/packages/flex/flex_2.5.31.bb b/meta/packages/flex/flex_2.5.31.bb
index 3062e2d8d..7ca7c7ee3 100644
--- a/meta/packages/flex/flex_2.5.31.bb
+++ b/meta/packages/flex/flex_2.5.31.bb
@@ -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"