fixed some typo's. LUA_LIBRARY now points to the right name, regardless of the host machine. Running cmake after a bad attempt (ie forgot to add paths to PATH) now works rather than having to clean the cache
#!/bin/shdownload_and_zip (){ echo "Downloading: $1" curl -silent -o tmp.zip $1 #grab the zips from an url unzip -qq tmp.zip -d SDL-android-project/jni/tmp #unzip it to a tmp file rm -fr SDL-android-project/jni/$2 #remove any old dirs, we will get those files back with hg revert in CMakeList mv SDL-android-project/jni/tmp/* SDL-android-project/jni/$2 #move the tmp dir to the jni directory rm tmp.zip #remove old tmp dir}download_and_zip http://www.xelification.com/tmp/jpeg.zip jpegdownload_and_zip http://www.xelification.com/tmp/png.zip pngdownload_and_zip http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.zip SDL_imagedownload_and_zip http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.zip SDL_mixerdownload_and_zip http://www.xelification.com/tmp/mikmod.zip mikmod #temporary url since the libsdl.org site doesn't work at the momentdownload_and_zip http://www.xelification.com/tmp/SDL_net.zip SDL_netdownload_and_zip http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.zip SDL_ttfdownload_and_zip http://www.libsdl.org/tmp/SDL-1.3.zip SDL