[oe] [PATCH 2/2] sox-native: convert to new style staging, remove do_stage()

Noor Ahsan noor_ahsan at mentor.com
Tue Aug 17 14:22:44 UTC 2010


* Replace the do_stage name with do_install.
* Replace ${STAGING_BINDIR} with ${D}${bindir}, ${STAGING_LIBDIR} with ${D}${libdir}, ${STAGING_DIR_HOST}${layout_mandir} with ${D}${layout_mandir} and ${STAGING_INCDIR} with ${D}${includedir}
* Remove previous do_install().
* Bump PR to "r2"

Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
---
 recipes/sox/sox-native_13.0.0.bb |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/recipes/sox/sox-native_13.0.0.bb b/recipes/sox/sox-native_13.0.0.bb
index 0dc90ca..84a131e 100644
--- a/recipes/sox/sox-native_13.0.0.bb
+++ b/recipes/sox/sox-native_13.0.0.bb
@@ -1,4 +1,5 @@
 include sox_${PV}.bb
+PR = "r2"
 
 S = "${WORKDIR}/sox-${PV}"
 
@@ -8,11 +9,9 @@ do_patch() {
         true
 }
 do_install() {
-        true
-}
-do_stage() {
-        make bindir="${STAGING_BINDIR}" libdir="${STAGING_LIBDIR}" mandir="${STAGING_DIR_HOST}${layout_mandir}" includedir="${STAGING_INCDIR}" install
-        rm ${STAGING_BINDIR}/rec
-        ln -s ${STAGING_BINDIR}/play ${STAGING_BINDIR}/rec
+        make bindir="${D}${bindir}" libdir="${D}${libdir}" mandir="${D}${layout_mandir}" includedir="${D}${includedir}" install
+        rm ${D}${bindir}/rec
+        ln -s ${D}${bindir}/play ${D}${bindir}/rec
 }
 
+
-- 
1.6.3.3





More information about the Openembedded-devel mailing list