view scripts/get_aubio.sh @ 191:9a07ca45658d

VERSION: release 0.5.1, set aubio==0.4.4
author Paul Brossier <piem@piem.org>
date Mon, 13 Feb 2017 23:39:03 +0100
parents 4c5d41e39a15
children c22402c78df4
line wrap: on
line source
#! /bin/bash

set -e
set -x

source $PWD/VERSION

mkdir -p contrib
pushd contrib
if [ -n "$VAMP_AUBIO_VERSION_STATUS" ]
then
  git clone https://github.com/aubio/aubio aubio || ( pushd aubio; git pull; popd )
  pushd aubio
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
  gpg --verify $tarball.asc $tarball
  rm -rf ${tarball%%.tar.bz2} && tar xf $tarball
  pushd ${tarball%%.tar.bz2}
fi

#rm -rf aubio
./scripts/get_waf.sh
#./waf distclean
./waf configure --prefix=$PWD/../aubio-dist $WAFOPTS
./waf build -v $WAFOPTS
./waf install -v $WAFOPTS
popd
popd