# Note: depends on premake # Note: depends on SDL2 # Note: depends on SDL2_ttf # Note: depends on SDL2_image # Note: depends on glu # Note: depends on openal-soft # Note: depends on libvorbis # Note: depends on libpng wget -c http://te4.org/dl/t-engine/t-engine4-src-1.4.6.tar.bz2 tar -xjf t-engine4-src-1.4.6.tar.bz2 cd t-engine4-src-1.4.6 sed -i -e 's@game/@/usr/share/t-engine4/@' src/main.c # Patch for saner data location premake4 gmake export CFLAGS="-I/usr/include/SDL2" make # Doesn't mind -j# install bin/Debug/t-engine /usr/bin cp -r game/. /usr/share/t-engine4