fakeroot(-native): convert to new style staging
authorKoen Kooi <koen@openembedded.org>
Thu, 17 Jun 2010 10:02:13 +0000 (12:02 +0200)
committerKoen Kooi <koen@openembedded.org>
Thu, 17 Jun 2010 10:07:02 +0000 (12:07 +0200)
Staging looks really weird, but it matches the way it was.

recipes/fakeroot/fakeroot-native_1.12.4.bb
recipes/fakeroot/fakeroot_1.12.4.bb

index 2279094..e6add2b 100644 (file)
@@ -13,9 +13,7 @@ python () {
         bb.data.setVar('EXTRA_OECONF', ' --with-ipc=tcp --program-prefix= ', d)
 }
 
-do_stage_append () {
-    oe_libinstall -so libfakeroot ${STAGING_LIBDIR}/libfakeroot/
-}
+NATIVE_INSTALL_WORKS = "1"
 
 RDEPENDS_${PN} = "util-linux-native"
 
index 19a493c..c265749 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Gives a fake root environment"
 HOMEPAGE = "http://fakeroot.alioth.debian.org"
 SECTION = "base"
 LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "\
   ${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.tar.gz \
@@ -11,10 +11,11 @@ SRC_URI = "\
            
 inherit autotools
 
-do_stage() {
-        install -d ${STAGING_INCDIR}/fakeroot
-        install -m 644 *.h ${STAGING_INCDIR}/fakeroot
-        autotools_stage_all
+do_install_append() {
+        install -d ${D}${includedir}/fakeroot
+        install -m 644 *.h ${D}${includedir}/fakeroot
+        install -d ${D}${libdir}/libfakeroot/
+        oe_libinstall -so libfakeroot ${D}${libdir}/libfakeroot/
 }
 
 # fakeroot needs getopt which is provided by the util-linux package