3 # instructions to build vamp-aubio-plugins for mac os x
6 VAMP_AUBIO_VERSION=$VAMP_AUBIO_MAJOR_VERSION.$VAMP_AUBIO_MINOR_VERSION.$VAMP_AUBIO_PATCH_VERSION$VAMP_AUBIO_VERSION_STATUS
17 ./scripts/get_deps_osx.sh
19 # fetch and build aubio
20 ./scripts/get_aubio.sh
22 # configure and build plugin
27 # install in user's home directory
28 # ./waf install --destdir=$HOME
30 # system-wide installation
35 DESTDIR=vamp-aubio-plugins-$VAMP_AUBIO_VERSION-osx
36 rm -rf $DESTDIR $DESTDIR.zip
38 cp -prv contrib/aubio*/README.md $DESTDIR/README.aubio.md
39 cp -prv README.md $DESTDIR
40 cp -prv build/vamp-aubio.dylib $DESTDIR
41 strip $DESTDIR/vamp-aubio.dylib
42 cp -prv vamp-aubio.cat vamp-aubio.n3 $DESTDIR
43 tar jcvf $DESTDIR.tar.bz2 $DESTDIR