# you will need to have gcc and jackosx (http://www.jackosx.com/) installed
#
# download and run this script using:
# curl -O http://piem.org/~piem/aubio/beta/aubio-winstaller
# sh aubio-wininstaller

# change as needed
PREFIX=/usr/local

curl -O http://fftw.org/fftw-3.0.1.tar.gz
curl -O http://mega-nerd.com/libsamplerate/libsamplerate-0.1.2.tar.gz
curl -O http://mega-nerd.com/libsndfile/libsndfile-1.0.11.tar.gz 
curl -O http://aubio.piem.org/beta/aubio-0.2.0.1pdtesting.tar.gz

for i in fftw-3.0.1 libsamplerate-0.1.2 libsndfile-1.0.11 aubio-0.2.0.1pdtesting
do
        gnutar zxf $i.tar.gz
        cd $i
        ./configure --prefix=$PREFIX
        make
        sudo make install
        cd ..
done
