sox: Get rid of do_stage and use BBCLASSEXTEND
authorKhem Raj <raj.khem@gmail.com>
Sat, 7 Aug 2010 18:43:36 +0000 (11:43 -0700)
committerKhem Raj <raj.khem@gmail.com>
Sat, 7 Aug 2010 18:43:36 +0000 (11:43 -0700)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/sox/sox-native_13.0.0.bb [deleted file]
recipes/sox/sox_13.0.0.bb

diff --git a/recipes/sox/sox-native_13.0.0.bb b/recipes/sox/sox-native_13.0.0.bb
deleted file mode 100644 (file)
index 9be0322..0000000
+++ /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
-}
index b2ffbbe..3529aa0 100644 (file)
@@ -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"