2006-12-20 19:30:52 +11:00
|
|
|
# Description: Audio conversion tools, (c) copyright Lance Norskog.
|
|
|
|
# URL: http://sox.sourceforge.net/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2006-12-20 19:30:52 +11:00
|
|
|
# Packager: Martin Opel, mo at obbl-net dot de
|
2010-09-25 15:31:47 +10:00
|
|
|
# Depends on: ffmpeg ladspa libmad libsamplerate wavpack
|
2008-01-01 22:47:02 +11:00
|
|
|
|
2006-12-20 19:30:52 +11:00
|
|
|
name=sox
|
2011-10-30 02:10:42 +11:00
|
|
|
version=14.3.2
|
2006-12-20 19:30:52 +11:00
|
|
|
release=1
|
2011-10-30 02:10:42 +11:00
|
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2)
|
2006-12-20 19:30:52 +11:00
|
|
|
|
|
|
|
build() {
|
2008-12-20 01:43:21 +11:00
|
|
|
cd $name-$version
|
2007-03-07 02:02:59 +11:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2008-01-01 22:47:02 +11:00
|
|
|
--mandir=$PKG/usr/man \
|
2010-09-25 15:31:47 +10:00
|
|
|
--disable-static \
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
--enable-dl-mad \
|
|
|
|
--enable-dl-lame \
|
|
|
|
--enable-dl-amrwb \
|
|
|
|
--enable-dl-amrnb \
|
|
|
|
--enable-dl-sndfile \
|
|
|
|
--with-dyn-default \
|
|
|
|
--with-distro=CRUX \
|
|
|
|
--with-oggvorbis=dyn \
|
|
|
|
--with-flac=dyn \
|
|
|
|
--with-amrwb=dyn \
|
|
|
|
--with-amrnb=dyn \
|
|
|
|
--with-wavpack=dyn \
|
|
|
|
--with-alsa=dyn \
|
|
|
|
--with-sndfile=dyn \
|
|
|
|
--with-ffmpeg=dyn \
|
|
|
|
--with-mp3=dyn \
|
|
|
|
--with-gsm=dyn \
|
|
|
|
--with-lpc10=dyn
|
2007-03-07 02:02:59 +11:00
|
|
|
|
|
|
|
make
|
|
|
|
make prefix=$PKG/usr install
|
2008-02-16 17:38:17 +11:00
|
|
|
|
|
|
|
pushd $PKG/usr/bin
|
|
|
|
ln -s sox $PKG/usr/bin/soxmix
|
|
|
|
popd
|
2006-12-20 19:30:52 +11:00
|
|
|
}
|