scripts/fetch_aubio_osx_framework.sh: add script to fetch aubio.framework
authorPaul Brossier <piem@piem.org>
Sun, 25 Oct 2015 02:06:45 +0000 (03:06 +0100)
committerPaul Brossier <piem@piem.org>
Sun, 25 Oct 2015 02:06:45 +0000 (03:06 +0100)
scripts/fetch_aubio_osx_framework.sh [new file with mode: 0755]

diff --git a/scripts/fetch_aubio_osx_framework.sh b/scripts/fetch_aubio_osx_framework.sh
new file mode 100755 (executable)
index 0000000..e2012cf
--- /dev/null
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+AUBIO_VERSION=0.4.2
+AUBIO_ZIPFRAM=aubio-$AUBIO_VERSION.darwin_framework.zip
+AUBIO_FRAMPATH=${AUBIO_ZIPFRAM%%.zip}
+
+set -e
+set -x
+
+rm -rf $AUBIO_ZIPFRAM example_aubioDemo/$AUBIO_FRAMPATH
+wget http://aubio.org/bin/$AUBIO_VERSION/$AUBIO_ZIPFRAM
+unzip -x $AUBIO_ZIPFRAM -d example_aubioDemo/
+open example_aubioDemo/$AUBIO_FRAMPATH