Makefile.inc: update
[vamp-aubio-plugins.git] / INSTALL.osx
1 #! /bin/sh
2
3 # instructions to build vamp-aubio-plugins for mac os x
4
5 # move one directoy up
6 pushd ..
7
8 # fetch Vamp SDK
9 curl -O https://code.soundsoftware.ac.uk/attachments/download/690/vamp-plugin-sdk-2.5.tar.gz
10 tar xf vamp-plugin-sdk-2.5.tar.gz
11
12 # fetch Vamp osx binaries
13 curl -O https://code.soundsoftware.ac.uk/attachments/download/693/vamp-plugin-sdk-2.5-binaries-osx.tar.gz
14 tar xf vamp-plugin-sdk-2.5-binaries-osx.tar.gz
15
16 # fetch and build aubio
17
18 # from git develop branch
19 #git clone git://git.aubio.org/git/aubio/ aubio-osx
20 #pushd aubio-osx
21 ##git co develop
22
23 # from latest release
24 curl -O http://aubio.org/pub/aubio-0.4.1.tar.bz2
25 tar xf aubio-0.4.1.tar.bz2
26 pushd aubio-0.4.1
27
28 ./waf distclean configure build install \
29   --destdir=../aubio-dist-osx \
30   --disable-avcodec --disable-samplerate --disable-jack --disable-sndfile
31 popd
32
33 # back to current directory
34 popd
35 # now build vamp-aubio-plugins
36 CXXFLAGS="-I../aubio-dist-osx/usr/local/include" \
37   LDFLAGS="-L../aubio-dist-osx/usr/local/lib" \
38   make -f Makefile.osx clean all