diff options
author | Dev Random <c1.github@niftybox.net> | 2011-08-23 08:33:53 -0400 |
---|---|---|
committer | Matt Corallo <matt@bluematt.me> | 2011-08-23 13:00:34 -0400 |
commit | d2cbb14d7c7258e08cd5e67d64bf163a68e1a8d8 (patch) | |
tree | 32c3256c534f11cea32eaadabb17d6047af3f46c /contrib/gitian.yml | |
parent | b4ada906c03111404c29b115ab37afbad92f4cf1 (diff) |
Linux gitian config with separate wxWidgets build
Diffstat (limited to 'contrib/gitian.yml')
-rw-r--r-- | contrib/gitian.yml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/contrib/gitian.yml b/contrib/gitian.yml index c4cdc89911..9f03ba1bc4 100644 --- a/contrib/gitian.yml +++ b/contrib/gitian.yml @@ -12,12 +12,13 @@ packages: - "libboost-all-dev" - "libssl-dev" - "git-core" +- "unzip" reference_datetime: "2011-01-30 00:00:00" remotes: - "url": "https://github.com/bitcoin/bitcoin.git" "dir": "bitcoin" files: -- "wxWidgets-2.9.2.tar.bz2" +- "wxWidgets-2.9.2-gitian.zip" - "miniupnpc-1.6.tar.gz" script: | INSTDIR="$HOME/install" @@ -28,11 +29,17 @@ script: | INSTALLPREFIX=$INSTDIR make $MAKEOPTS install cd .. # - tar xjf wxWidgets-2.9.2.tar.bz2 + mkdir -p $INSTDIR/bin $INSTDIR/lib/wx $INSTDIR/include + mkdir wxWidgets-2.9.2 cd wxWidgets-2.9.2 - ./configure --prefix=$INSTDIR --enable-monolithic --disable-shared - perl -i -p -e "s/__TIME__/\"$REFERENCE_TIME\"/;s/__DATE__/\"$REFERENCE_DATE\"/" include/wx/chartype.h - make $MAKEOPTS install + unzip ../wxWidgets-2.9.2-gitian.zip + cp -a bin/$GBUILD_BITS/wx/config/gtk2-unicode-static-2.9 $INSTDIR/bin/wx-config + for lib in wx_gtk2u wxregexu wxtiff; do + ar rc $INSTDIR/lib/lib${lib}-2.9.a bin/$GBUILD_BITS/$lib/*.o + ranlib $INSTDIR/lib/lib${lib}-2.9.a + done + cp -a include/wx-2.9/* $INSTDIR/include + cp -a bin/$GBUILD_BITS/wx/include $INSTDIR/lib/wx cd .. # cd bitcoin |