hack fix for Ogg sequence headers being wrong
[schroedinger/research-port.git] / tools / build_win32_sdk
blob15c5c00a4a84744203c66c71b064c4f3a5d9152e
1 #!/bin/sh
3 export CC=i586-mingw32msvc-gcc
4 export LD=i586-mingw32msvc-ld
5 export PKG_CONFIG_LIBDIR=/opt/win32/lib/pkgconfig/
6 export PKG_CONFIG_PATH=
8 mkdir tmp
9 cd tmp
11 rm -rf schroedinger-devel
12 prefix=$(pwd)/schroedinger-devel
13 mkdir $prefix
15 git clone git://git.freedesktop.org/git/liboil
16 cd liboil
17 autoreconf -i -f
18 ./configure \
19 --host=i586-mingw32msvc \
20 --prefix=$prefix
21 make clean
22 make
23 make install
24 cd ..
26 git clone git://diracvideo.org/git/schroedinger
27 cd schroedinger
28 autoreconf -i -f
29 ./configure \
30 --host=i586-mingw32msvc \
31 --prefix=$prefix
32 make clean
33 make
34 make install
35 cd ..
37 rm -f schroedinger-devel.zip
38 zip -r ../schroedinger-sdk.zip schroedinger-devel/