~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 19:58:19 UTC
  • mfrom: (339.1.3 windows)
  • Revision ID: olivier@tilloy.net-20101209195819-ufkutx90a199da3z
Updated windows build dependencies:
 • exiv2 0.20 → 0.21
 • python 2.7 → 2.7.1
 • boost 1.44.0 → 1.45.0

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
64
64
cd ..
65
65
 
66
66
# exiv2
67
 
wget http://exiv2.org/exiv2-0.20.tar.gz
68
 
tar xf exiv2-0.20.tar.gz
69
 
cd exiv2-0.20
 
67
wget http://exiv2.org/exiv2-0.21.tar.gz
 
68
tar xf exiv2-0.21.tar.gz
 
69
cd exiv2-0.21
70
70
./configure --disable-shared --disable-visibility --target=$PLATFORM --host=$PLATFORM --build=$BUILD --disable-nls --with-zlib=$BASE/zlib --with-libiconv-prefix=$BASE/libiconv --with-expat=$BASE/expat --prefix=$BASE/exiv2
71
71
make -j3 install
72
72
cd ..
73
73
 
74
74
# python
75
 
wget http://python.org/ftp/python/2.7/python-2.7.msi
76
 
7z x python-2.7.msi -opython
 
75
wget http://python.org/ftp/python/2.7.1/python-2.7.1.msi
 
76
7z x python-2.7.1.msi -opython
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
81
 
tar xf boost_1_44_0.tar.bz2
82
 
cd boost_1_44_0
 
80
wget --trust-server-names=on http://sourceforge.net/projects/boost/files/boost/1.45.0/boost_1_45_0.tar.bz2/download
 
81
tar xf boost_1_45_0.tar.bz2
 
82
cd boost_1_45_0
83
83
echo "using gcc : : $COMPILER : <compileflags>-I$BASE/python <archiver>$ARCHIVER ;" >> tools/build/v2/user-config.jam
84
84
bjam install -j 3 --prefix=$BASE/boost --with-python toolset=gcc link=static
85
85
cd ..