contrib/sox/Pkgfile

47 lines
1.0 KiB
Plaintext
Raw Normal View History

2006-12-20 09:30:52 +01:00
# Description: Audio conversion tools, (c) copyright Lance Norskog.
# URL: http://sox.sourceforge.net/
2008-03-26 03:45:31 +01:00
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
2006-12-20 09:30:52 +01:00
# Packager: Martin Opel, mo at obbl-net dot de
# Depends on: ffmpeg ladspa libmad libsamplerate wavpack
2008-01-01 12:47:02 +01:00
2006-12-20 09:30:52 +01:00
name=sox
version=14.3.1
2006-12-20 09:30:52 +01:00
release=1
source=(http://downloads.sourceforge.net/project/$name/$name-$version.tar.gz)
2006-12-20 09:30:52 +01:00
build() {
2008-12-19 15:43:21 +01:00
cd $name-$version
2007-03-06 16:02:59 +01:00
./configure \
--prefix=/usr \
2008-01-01 12:47:02 +01:00
--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
2007-03-06 16:02:59 +01:00
make
make prefix=$PKG/usr install
2008-02-16 07:38:17 +01:00
pushd $PKG/usr/bin
ln -s sox $PKG/usr/bin/soxmix
popd
2006-12-20 09:30:52 +01:00
}