source: utils/cross-compile.win32 @ 875ad42

Last change on this file since 875ad42 was 875ad42, checked in by Jelmer Vernooij <jelmer@…>, at 2006-05-27T15:02:22Z

Install glib, gettext and iconv in temporary directory

  • Property mode set to 100755
File size: 823 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
[875ad42]15DEPSDIR=`mktemp -d`
[1705ec3]16
17unzip -d $DEPSDIR -o libiconv-$LIBICONV_VERSION.bin.woe32.zip
18unzip -d $DEPSDIR -o glib-dev-$GLIB_VERSION.zip
[84eddee]19unzip -d $DEPSDIR -o gettext-dev-$GETTEXT_VERSION.zip
[1705ec3]20
[84eddee]21LD=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.