Mercurial > hg > vamp-aubio-plugins
diff scripts/get_aubio.sh @ 194:c22402c78df4
scripts/get_aubio.sh: disable external dependencies, use curl
author | Paul Brossier <piem@piem.org> |
---|---|
date | Tue, 14 Feb 2017 00:47:17 +0100 |
parents | 9a07ca45658d |
children | 84fbc387ebd4 |
line wrap: on
line diff
--- a/scripts/get_aubio.sh Tue Feb 14 00:46:47 2017 +0100 +++ b/scripts/get_aubio.sh Tue Feb 14 00:47:17 2017 +0100 @@ -5,6 +5,9 @@ source $PWD/VERSION +# external dependencies are not required for vamp +WAFOPTS="--disable-samplerate --disable-avcodec --disable-sndfile --disable-jack" + mkdir -p contrib pushd contrib if [ -n "$VAMP_AUBIO_VERSION_STATUS" ] @@ -14,8 +17,8 @@ else echo "using release 0.4.4" tarball=aubio-$AUBIO_VERSION.tar.bz2 - [ -f $tarball ] || wget https://aubio.org/pub/$tarball - [ -f $tarball.asc ] || wget https://aubio.org/pub/$tarball.asc + [ -f $tarball ] || curl -O https://aubio.org/pub/$tarball + [ -f $tarball.asc ] || curl -O https://aubio.org/pub/$tarball.asc gpg --verify $tarball.asc $tarball rm -rf ${tarball%%.tar.bz2} && tar xf $tarball pushd ${tarball%%.tar.bz2}