scripts/get_aubio.sh: disable external dependencies, use curl
[vamp-aubio-plugins.git] / scripts / get_aubio.sh
index a0cac76..1f735cb 100755 (executable)
@@ -5,6 +5,9 @@ set -x
 
 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" ]
@@ -12,11 +15,10 @@ then
   git clone https://github.com/aubio/aubio aubio || ( pushd aubio; git pull; popd )
   pushd aubio
 else
-  AUBIO_VERSION=0.4.4
   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}