source: utils/cross-compile.win32 @ 55eda08

Last change on this file since 55eda08 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
Line 
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
9GETTEXT_VERSION=0.14.5
10
11wget -c $GTK_SITE/glib-dev-$GLIB_VERSION.zip
12wget -c $GTK_SITE/dependencies/libiconv-$LIBICONV_VERSION.bin.woe32.zip
13wget -c $GTK_SITE/dependencies/gettext-dev-$GETTEXT_VERSION.zip
14
15DEPSDIR=`mktemp -d`
16
17unzip -d $DEPSDIR -o libiconv-$LIBICONV_VERSION.bin.woe32.zip
18unzip -d $DEPSDIR -o glib-dev-$GLIB_VERSION.zip
19unzip -d $DEPSDIR -o gettext-dev-$GETTEXT_VERSION.zip
20
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.