blob: 504c6e2e540d1f22d1b56ca71d11d59b9a3f0374 (
plain)
1 # Description: Audio conversion tools, (c) copyright Lance Norskog.
2 # URL: http://sox.sourceforge.net/
3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
4 # Packager: Martin Opel, mo at obbl-net dot de
5 # Depends on: ffmpeg ladspa libmad libsamplerate wavpack
6
7 name=sox
8 version=14.3.1
9 release=1
10 source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz)
11
12 build() {
13 cd $name-$version
14
15 ./configure \
16 --prefix=/usr \
17 --mandir=$PKG/usr/man \
18 --disable-static \
19 --disable-oss \
20 --disable-dependency-tracking \
21 --enable-dl-mad \
22 --enable-dl-lame \
23 --enable-dl-amrwb \
24 --enable-dl-amrnb \
25 --enable-dl-sndfile \
26 --with-dyn-default \
27 --with-distro=CRUX \
28 --with-oggvorbis=dyn \
29 --with-flac=dyn \
30 --with-amrwb=dyn \
31 --with-amrnb=dyn \
32 --with-wavpack=dyn \
33 --with-alsa=dyn \
34 --with-sndfile=dyn \
35 --with-ffmpeg=dyn \
36 --with-mp3=dyn \
37 --with-gsm=dyn \
38 --with-lpc10=dyn
39
40 make
41 make prefix=$PKG/usr install
42
43 pushd $PKG/usr/bin
44 ln -s sox $PKG/usr/bin/soxmix
45 popd
46 }
|