[oe-commits] Khem Raj : sox: Get rid of do_stage and use BBCLASSEXTEND

git version control git at git.openembedded.org
Sat Aug 7 18:44:32 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: fc909a927ddfcb4c0c10da1b278b496c68319a6a
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=fc909a927ddfcb4c0c10da1b278b496c68319a6a

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sat Aug  7 11:43:36 2010 -0700

sox: Get rid of do_stage and use BBCLASSEXTEND

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/sox/sox-native_13.0.0.bb |   19 -------------------
 recipes/sox/sox_13.0.0.bb        |   10 +++++++---
 2 files changed, 7 insertions(+), 22 deletions(-)

diff --git a/recipes/sox/sox-native_13.0.0.bb b/recipes/sox/sox-native_13.0.0.bb
deleted file mode 100644
index 9be0322..0000000
--- a/recipes/sox/sox-native_13.0.0.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-include sox_${PV}.bb
-
-S = "${WORKDIR}/sox-${PV}"
-
-inherit native
-
-do_patch() {
-        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
-}
-
-do_install() {
-        true
-}
diff --git a/recipes/sox/sox_13.0.0.bb b/recipes/sox/sox_13.0.0.bb
index b2ffbbe..3529aa0 100644
--- a/recipes/sox/sox_13.0.0.bb
+++ b/recipes/sox/sox_13.0.0.bb
@@ -1,22 +1,26 @@
 DESCRIPTION="SoX is the Swiss Army knife of sound processing tools. \
 It converts audio files among various standard audio file formats \
-and can apply different effects and filters to the audio data." 
+and can apply different effects and filters to the audio data."
 HOMEPAGE = "http://sox.sourceforge.net"
 SECTION = "audio"
 LICENSE = "GPL"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/sox/sox-${PV}.tar.gz \
          file://src-Makefile.am.patch"
 
+SRC_URI_virtclass-native = "${SOURCEFORGE_MIRROR}/sox/sox-${PV}.tar.gz"
+
 inherit autotools
 
 do_install() {
-	make bindir="${D}${bindir}" libdir="${D}${libdir}" mandir="${D}/${mandir}" includedir="${D}${includedir}" install
+	make bindir="${D}${bindir}" libdir="${D}${libdir}" mandir="${D}${mandir}" includedir="${D}${includedir}" install
 	rm ${D}${bindir}/rec
 	ln -s /usr/bin/play ${D}${bindir}/rec
 }
 
+BBCLASSEXTEND = "native"
+
 SRC_URI[md5sum] = "0243d62895caee558b5294d5b78cfbcb"
 SRC_URI[sha256sum] = "c66c52cfa42fe126592563c3d8974007a9858bd35d2c1136389a721eeebb9f8e"





More information about the Openembedded-commits mailing list