Makefile separators
[novacoin.git] / contrib / gitian-descriptors / boost-win32.yml
1 ---
2 name: "boost"
3 suites:
4 - "lucid"
5 architectures:
6 - "i386"
7 packages: 
8 - "mingw32"
9 - "faketime"
10 - "zip"
11 reference_datetime: "2011-01-30 00:00:00"
12 remotes: []
13 files:
14 - "boost_1_47_0.tar.bz2"
15 script: |
16   TMPDIR="$HOME/tmpdir"
17   mkdir -p $TMPDIR/bin/$GBUILD_BITS $TMPDIR/include
18   tar xjf boost_1_47_0.tar.bz2
19   cd boost_1_47_0
20   echo "using gcc : 4.4 : i586-mingw32msvc-g++
21         :
22         <rc>i586-mingw32msvc-windres
23         <archiver>i586-mingw32msvc-ar
24         <cxxflags>-frandom-seed=boost1
25   ;" > user-config.jam
26   ./bootstrap.sh --without-icu
27   ./bjam toolset=gcc target-os=windows threadapi=win32 threading=multi variant=release link=static --user-config=user-config.jam --without-mpi --without-python -sNO_BZIP2=1 -sNO_ZLIB=1 --layout=tagged --build-type=complete $MAKEOPTS stage
28   for lib in chrono date_time exception filesystem graph iostreams math_c99f math_c99l math_c99 math_tr1f math_tr1l math_tr1 prg_exec_monitor program_options random regex serialization signals system test_exec_monitor thread_win32 unit_test_framework wave wserialization; do
29       mkdir $lib
30       (cd $lib ; ar xf ../stage/lib/libboost_${lib}-mt-s.a)
31       mv $lib $TMPDIR/bin/$GBUILD_BITS
32   done
33   cp -a boost $TMPDIR/include
34   cd $TMPDIR
35   export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1
36   export FAKETIME=$REFERENCE_DATETIME
37   zip -r boost-win32-1.47.0-gitian.zip *
38   cp boost-win32-1.47.0-gitian.zip $OUTDIR