46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
# Description: Audio conversion tools, (c) copyright Lance Norskog.
|
|
# URL: http://sox.sourceforge.net/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Martin Opel, mo at obbl-net dot de
|
|
# Depends on: ffmpeg ladspa libmad libsamplerate wavpack
|
|
|
|
name=sox
|
|
version=14.4.0
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=$PKG/usr/man \
|
|
--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
|
|
|
|
make
|
|
make prefix=$PKG/usr install
|
|
|
|
pushd $PKG/usr/bin
|
|
ln -s sox $PKG/usr/bin/soxmix
|
|
popd
|
|
}
|