gperf-native: convert to new style staging and BBCLASSEXTEND
authorKoen Kooi <koen@openembedded.org>
Wed, 3 Mar 2010 13:28:16 +0000 (14:28 +0100)
committerKoen Kooi <koen@openembedded.org>
Wed, 3 Mar 2010 13:29:24 +0000 (14:29 +0100)
recipes/gperf/gperf-native_3.0.3.bb [deleted file]
recipes/gperf/gperf_3.0.3.bb

diff --git a/recipes/gperf/gperf-native_3.0.3.bb b/recipes/gperf/gperf-native_3.0.3.bb
deleted file mode 100644 (file)
index 103d1aa..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-require gperf_${PV}.bb
-
-S = "${WORKDIR}/gperf-${PV}"
-
-inherit native
-
-do_stage() {
-    install -d ${STAGING_BINDIR_NATIVE}
-    install ${S}/src/gperf ${STAGING_BINDIR_NATIVE}
-}
index 7abfb8f..30b40be 100644 (file)
@@ -6,3 +6,6 @@ SRC_URI  = "${GNU_MIRROR}/gperf/gperf-${PV}.tar.gz \
             file://autoreconf.patch;patch=1"
 
 inherit autotools
+
+NATIVE_INSTALL_WORKS = "1"
+BBCLASSEXTEND = "native"