file-native: fix do_stage in 4.13
authorJohn Bowler <jbowler@nslu2-linux.org>
Tue, 31 Jan 2006 17:13:37 +0000 (17:13 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 31 Jan 2006 17:13:37 +0000 (17:13 +0000)
 - the hand crafted do_stage installed a broken file in staging, the
   fix is to use the standard native do_stage which does a proper install
   using the makefile

packages/file/file-native_4.13.bb
packages/file/file_4.13.bb

index d030f73..f92ff15 100644 (file)
@@ -3,9 +3,3 @@ inherit native
 
 # avoid dependency loop
 DEPENDS = ""
-
-do_stage() {
-       install -m 0755 src/file ${STAGING_BINDIR}/
-       oe_libinstall -so -C src libmagic ${STAGING_LIBDIR}/
-}
-
index eac5c8a..ac5201b 100644 (file)
@@ -3,7 +3,7 @@ on their contents and prints a description if a match is found."
 SECTION = "console/utils"
 LICENSE = "BSD-ADV"
 DEPENDS = "file-native"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz"
 S = "${WORKDIR}/file-${PV}"
@@ -15,5 +15,5 @@ do_configure_prepend() {
 }
 
 do_stage() {
-autotools_stage_all
+       autotools_stage_all
 }