diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-09-22 13:54:42 -0700 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-09-22 13:54:42 -0700 |
commit | c7eb151ad0ed441d6fd598551059a9bbfb09e99e (patch) | |
tree | 4b7f2a1394a4a3e3190b29a1ecea34b7d65c13ec /contrib/gitian-descriptors/wxwidgets-win32.yml | |
parent | 16d6963ef648fce5c651571d260d48cf0dea095f (diff) | |
parent | 0920ad152fc8ec0486b360a9b6fe04ada3abba39 (diff) |
Merge pull request #527 from TheBlueMatt/gitian-downloaderv0.4.0
Restructure gitian files and add download config files.
Diffstat (limited to 'contrib/gitian-descriptors/wxwidgets-win32.yml')
-rw-r--r-- | contrib/gitian-descriptors/wxwidgets-win32.yml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/contrib/gitian-descriptors/wxwidgets-win32.yml b/contrib/gitian-descriptors/wxwidgets-win32.yml new file mode 100644 index 0000000000..3d49d7b35e --- /dev/null +++ b/contrib/gitian-descriptors/wxwidgets-win32.yml @@ -0,0 +1,40 @@ +--- +name: "wxwidgets" +suites: +- "lucid" +architectures: +- "i386" +packages: +- "mingw32" +- "faketime" +- "zip" +reference_datetime: "2011-01-30 00:00:00" +remotes: [] +files: +- "wxWidgets-2.9.2.tar.bz2" +script: | + INSTDIR="$HOME/install" + TMPDIR="$HOME/tmpdir" + export LIBRARY_PATH="$INSTDIR/lib" + # + tar xjf wxWidgets-2.9.2.tar.bz2 + cd wxWidgets-2.9.2 + CXXFLAGS=-frandom-seed=wx1 ./configure --host=i586-mingw32msvc --build=i686-linux --prefix=$INSTDIR --disable-shared --enable-monolithic --without-libpng --disable-svg + perl -i -p -e "s/__TIME__/\"$REFERENCE_TIME\"/;s/__DATE__/\"$REFERENCE_DATE\"/" include/wx/chartype.h + make $MAKEOPTS install + mkdir $TMPDIR + cd $TMPDIR + cp -af $INSTDIR/include . + mkdir -p $TMPDIR/bin/$GBUILD_BITS + cd $TMPDIR/bin/$GBUILD_BITS + cp -af $INSTDIR/lib/wx . + for lib in wx_mswu; do + mkdir $lib + (cd $lib ; ar xf $INSTDIR/lib/lib${lib}-2.9-i586-mingw32msvc.a) + done + chmod -R +w $TMPDIR + cd $TMPDIR + export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1 + export FAKETIME=$REFERENCE_DATETIME + zip -r wxwidgets-win32-2.9.2-gitian.zip * + cp wxwidgets-win32-2.9.2-gitian.zip $OUTDIR |