# Note: depends on git
# Note: depends on mesa
# Note: depends on glu
# Note: depends on wxWidgets
# Note: depends on SDL2
# Note: depends on zip
# Note: depends on openal-soft
git clone git://github.com/visualboyadvance-m/visualboyadvance-m.git vbam
cd vbam
git checkout 48770219fa51259e71c # Known good revision
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
make # Doesn't mind -j#
make install