# Note: depends on glu # Note: depends on sqlite # Note: depends on libxdg-basedir # Note: depends on SDL # Note: depends on SDL_mixer # Note: depends on SDL_net # Note: depends on SDL_ttf # Note: depends on lua # Note: depends on ode # Note: depends on zlib # Note: depends on jpeg # Note: depends on libpng # Note: depends on libxml2 # Note: depends on curl wget -c http://download.tuxfamily.org/xmoto/xmoto/0.5.11/xmoto-0.5.11-src.tar.gz tar -xzf xmoto-0.5.11-src.tar.gz cd xmoto-0.5.11 rm -rf src/ode echo '#define luaL_openlib(a,b,c,d) lua_newtable(a); luaL_setfuncs(a, c, d); lua_setglobal(a, b)' >> src/LuaLibBase.h # Workaround for lua incompatibility mkdir -p build cd build ../configure --prefix="/usr" make # Doesn't mind -j# make install