9cd247b30e
(cherry picked from commit 4011f6e6ae651f4c631e913c4a3126b746eeede9)
47 lines
1.0 KiB
Plaintext
47 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.3.1
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=$PKG/usr/man \
|
|
--disable-static \
|
|
--disable-oss \
|
|
--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
|
|
}
|