# Note: depends on cmake
# Note: depends on mesa
# Note: depends on glu
# Note: depends on libXi
wget -c https://github.com/erincatto/Box2D/archive/v2.3.1/Box2D-2.3.1.tar.gz
tar -xzf Box2D-2.3.1.tar.gz
cd Box2D-2.3.1
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DBOX2D_BUILD_EXAMPLES=OFF -DBOX2D_BUILD_SHARED=ON ../Box2D
make # Doesn't mind -j#
make install