source: utils/cross-compile.win32 @ 84eddee

Last change on this file since 84eddee was 84eddee, checked in by Jelmer Vernooij <jelmer@…>, at 2006-05-26T15:45:58Z

Use right pkgconfig location, trim the amount of magic.

  • Property mode set to 100755
File size: 838 bytes
RevLine 
[1705ec3]1#!/bin/sh
2# Simple cross compilation script for BitlBee using mingw32
3# (C) Jelmer Vernooij <jelmer@samba.org> 2005-2006
4
5GTK_SITE=ftp://ftp.gtk.org/pub/gtk/v2.8/win32
6
7GLIB_VERSION=2.10.1
8LIBICONV_VERSION=1.9.1
[84eddee]9GETTEXT_VERSION=0.14.5
[1705ec3]10
11wget -c $GTK_SITE/glib-dev-$GLIB_VERSION.zip
12wget -c $GTK_SITE/dependencies/libiconv-$LIBICONV_VERSION.bin.woe32.zip
[84eddee]13wget -c $GTK_SITE/dependencies/gettext-dev-$GETTEXT_VERSION.zip
[1705ec3]14
15DEPSDIR=`pwd`/win32
16mkdir $DEPSDIR
17
18unzip -d $DEPSDIR -o libiconv-$LIBICONV_VERSION.bin.woe32.zip
19unzip -d $DEPSDIR -o glib-dev-$GLIB_VERSION.zip
[84eddee]20unzip -d $DEPSDIR -o gettext-dev-$GETTEXT_VERSION.zip
[1705ec3]21
[84eddee]22LD=i586-mingw32msvc-ld CC=i586-mingw32msvc-gcc STRIP=i586-mingw32msvc-strip PKG_CONFIG_PATH="$DEPSDIR/lib/pkgconfig" PKG_CONFIG="pkg-config --define-variable=prefix=\"$DEPSDIR\"" ./configure --ssl=sspi --arch=Windows
Note: See TracBrowser for help on using the repository browser.