~osomon/pyexiv2/pyexiv2-0.3

« back to all changes in this revision

Viewing changes to cross-compile.sh

  • Committer: Olivier Tilloy
  • Date: 2010-12-09 18:58:36 UTC
  • mto: This revision was merged to the branch mainline in revision 340.
  • Revision ID: olivier@tilloy.net-20101209185836-tfpkdfmryaik423q
Pass --trust-server-names=on to wget to use the last component of the redirection URLs as the local file names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
BUILD=i586-linux
45
45
 
46
46
# zlib (for exiv2)
47
 
wget http://gnuwin32.sourceforge.net/downlinks/zlib-lib-zip.php
 
47
wget --trust-server-names=on http://gnuwin32.sourceforge.net/downlinks/zlib-lib-zip.php
48
48
unzip -d zlib zlib-*.zip
49
49
 
50
50
# iconv (for exiv2)
56
56
cd ..
57
57
 
58
58
# expat (for exiv2)
59
 
wget http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download
 
59
wget --trust-server-names=on http://sourceforge.net/projects/expat/files/expat/2.0.1/expat-2.0.1.tar.gz/download
60
60
tar xf expat-2.0.1.tar.gz
61
61
cd expat-2.0.1
62
62
./configure --disable-shared --disable-visibility --target=$PLATFORM --host=$PLATFORM --build=$BUILD --prefix=$BASE/expat
77
77
7z x python/python -opython
78
78
 
79
79
# boost-python
80
 
wget http://sourceforge.net/projects/boost/files/boost/1.44.0/boost_1_44_0.tar.bz2/download
 
80
wget --trust-server-names=on http://sourceforge.net/projects/boost/files/boost/1.44.0/boost_1_44_0.tar.bz2/download
81
81
tar xf boost_1_44_0.tar.bz2
82
82
cd boost_1_44_0
83
83
echo "using gcc : : $COMPILER : <compileflags>-I$BASE/python <archiver>$ARCHIVER ;" >> tools/build/v2/user-config.jam