You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
2.0 KiB
58 lines
2.0 KiB
--- |
|
name: "bitcoin" |
|
suites: |
|
- "lucid" |
|
architectures: |
|
- "i386" |
|
packages: |
|
- "mingw32" |
|
- "git-core" |
|
- "unzip" |
|
- "nsis" |
|
- "faketime" |
|
- "autoconf2.13" |
|
- "libtool" |
|
- "automake" |
|
- "pkg-config" |
|
- "bsdmainutils" |
|
|
|
reference_datetime: "2013-06-01 00:00:00" |
|
remotes: |
|
- "url": "https://github.com/bitcoin/bitcoin.git" |
|
"dir": "bitcoin" |
|
files: |
|
- "qt-win32-4.8.3-gitian-r3.zip" |
|
- "boost-win32-1.50.0-gitian3.zip" |
|
- "bitcoin-deps-0.0.6.zip" |
|
- "protobuf-win32-2.5.0-gitian-r2.zip" |
|
script: | |
|
# |
|
STAGING=$HOME/staging |
|
mkdir -p $STAGING |
|
cd $STAGING |
|
unzip ../build/qt-win32-4.8.3-gitian-r3.zip |
|
unzip ../build/boost-win32-1.50.0-gitian3.zip |
|
unzip ../build/bitcoin-deps-0.0.6.zip |
|
unzip ../build/protobuf-win32-2.5.0-gitian-r2.zip |
|
cd $HOME/build/ |
|
# |
|
cd bitcoin |
|
export PATH=$STAGING/host/bin:$PATH |
|
export TAR_OPTIONS=--mtime=`echo $REFERENCE_DATETIME | awk '{ print $1 }'` |
|
./autogen.sh |
|
./configure --disable-debug --bindir=$OUTDIR --prefix=$STAGING --host=i586-mingw32msvc --with-qt-plugindir=$STAGING/plugins --with-qt-incdir=$STAGING/include --with-qt-bindir=$STAGING/host/bin --with-boost=$STAGING --disable-maintainer-mode --with-protoc-bindir=$STAGING/host/bin --disable-dependency-tracking CPPFLAGS="-I$STAGING/include" LDFLAGS="-L$STAGING/lib" CXXFLAGS="-frandom-seed=bitcoin" |
|
make dist |
|
mkdir -p distsrc |
|
cd distsrc |
|
tar --strip-components=1 -xf ../bitcoin-*.tar.* |
|
./configure --disable-debug --bindir=$OUTDIR --prefix=$STAGING --host=i586-mingw32msvc --with-qt-plugindir=$STAGING/plugins --with-qt-incdir=$STAGING/include --with-qt-bindir=$STAGING/host/bin --with-boost=$STAGING --disable-maintainer-mode --with-protoc-bindir=$STAGING/host/bin --disable-dependency-tracking CPPFLAGS="-I$STAGING/include" LDFLAGS="-L$STAGING/lib" CXXFLAGS="-frandom-seed=bitcoin" |
|
export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1 |
|
export FAKETIME=$REFERENCE_DATETIME |
|
export TZ=UTC |
|
make $MAKEOPTS |
|
make deploy |
|
make install-strip |
|
cp -f bitcoin-*setup*.exe $OUTDIR/ |
|
|
|
mkdir -p $OUTDIR/src |
|
cp -f ../bitcoin-*.tar.* $OUTDIR/src
|
|
|