9 hg clone -r stable-2.0 http://hg.icculus.org/icculus/physfs/ || true
14 cmake -DCMAKE_SYSTEM_NAME=windows -DCMAKE_C_COMPILER=$(which $host-gcc) -DCMAKE_C_FLAGS=-Wno-pointer-to-int-cast -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$prefix" -DPHYSFS_BUILD_STATIC=OFF -DPHYSFS_BUILD_TEST=OFF ..
18 hg clone -r SDL-1.2 http://hg.libsdl.org/SDL || true
22 ./configure --host=$host --prefix="$prefix" --disable-static
24 $host-strip $prefix/bin/SDL.dll
27 hg clone -r SDL-1.2 http://hg.libsdl.org/SDL_mixer || true
31 ./configure --host=$host --with-sdl-prefix="$prefix" --prefix="$prefix" --disable-static
32 make install-hdrs install-lib
33 $host-strip $prefix/bin/SDL_mixer.dll
37 for file in bin/sdl-config lib/pkgconfig/sdl.pc lib/pkgconfig/SDL_mixer.pc; do \
38 sed -i "" 's/^prefix=.*/prefix=arch\/win32/' $file; \