sox: Add updated sox and new package sox-native
authorOyvind Repvik <nail@nslu2-linux.org>
Wed, 21 Mar 2007 13:37:00 +0000 (13:37 +0000)
committerOyvind Repvik <nail@nslu2-linux.org>
Wed, 21 Mar 2007 13:37:00 +0000 (13:37 +0000)
packages/sox/sox-native_13.0.0.bb [new file with mode: 0644]
packages/sox/sox_12.17.5.bb
packages/sox/sox_13.0.0.bb [new file with mode: 0644]

diff --git a/packages/sox/sox-native_13.0.0.bb b/packages/sox/sox-native_13.0.0.bb
new file mode 100644 (file)
index 0000000..9b4dd29
--- /dev/null
@@ -0,0 +1,19 @@
+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_SYS}/man" includedir="${STAGING_INCDIR}" install
+       rm ${STAGING_BINDIR}/rec
+       ln -s ${STAGING_BINDIR}/play ${STAGING_BINDIR}/rec
+}
+
+do_install() {
+        true
+}
index 6c70eaa..a3cd84e 100644 (file)
@@ -4,7 +4,7 @@
 
 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." 
 LICENSE="GPL"
 HOMEPAGE="http://sox.sourceforge.net"
 
diff --git a/packages/sox/sox_13.0.0.bb b/packages/sox/sox_13.0.0.bb
new file mode 100644 (file)
index 0000000..f5c5547
--- /dev/null
@@ -0,0 +1,18 @@
+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." 
+HOMEPAGE = "http://sox.sourceforge.net"
+SECTION = "audio"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/sox/sox-${PV}.tar.gz \
+         file://src-Makefile.am.patch;patch=1"
+
+inherit autotools
+
+do_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
+}