# sox OE build file
# Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved
# Released under the MIT license (see packages/COPYING)
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."
LICENSE="GPL"
HOMEPAGE="http://sox.sourceforge.net"
SRC_URI="${SOURCEFORGE_MIRROR}/sox/sox-${PV}.tar.gz"
S = "${WORKDIR}/sox-${PV}"
inherit autotools native
do_stage() {
make bindir="${STAGING_BINDIR}" libdir="${STAGING_LIBDIR}" mandir="${STAGING_MANDIR}" includedir="${STAGING_INCLUDEDIR}" install
rm ${STAGING_BINDIR}/rec
ln -s /usr/bin/play ${STAGING_BINDIR}/rec
}