2011-07-03 14:41:09 +02:00
|
|
|
---
|
|
|
|
name: "bitcoin"
|
|
|
|
suites:
|
|
|
|
- "lucid"
|
|
|
|
architectures:
|
|
|
|
- "i386"
|
2012-09-22 08:51:03 +02:00
|
|
|
packages:
|
2011-07-03 14:41:09 +02:00
|
|
|
- "mingw32"
|
|
|
|
- "git-core"
|
|
|
|
- "unzip"
|
|
|
|
- "nsis"
|
2011-08-23 14:43:24 +02:00
|
|
|
- "faketime"
|
2013-05-28 01:55:01 +02:00
|
|
|
- "autoconf2.13"
|
|
|
|
- "libtool"
|
|
|
|
- "automake"
|
|
|
|
- "pkg-config"
|
2013-09-10 21:15:10 +02:00
|
|
|
- "bsdmainutils"
|
2013-05-28 01:55:01 +02:00
|
|
|
|
|
|
|
reference_datetime: "2013-06-01 00:00:00"
|
2011-07-03 14:41:09 +02:00
|
|
|
remotes:
|
2012-10-29 21:36:25 +01:00
|
|
|
- "url": "https://github.com/bitcoin/bitcoin.git"
|
2011-07-03 14:41:09 +02:00
|
|
|
"dir": "bitcoin"
|
|
|
|
files:
|
2013-05-28 01:55:01 +02:00
|
|
|
- "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"
|
2011-07-03 14:41:09 +02:00
|
|
|
script: |
|
|
|
|
#
|
2013-05-28 01:55:01 +02:00
|
|
|
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
|
2011-10-10 18:07:30 +02:00
|
|
|
cd $HOME/build/
|
2011-12-24 05:23:12 +01:00
|
|
|
#
|
2011-07-03 14:41:09 +02:00
|
|
|
cd bitcoin
|
2013-05-28 01:55:01 +02:00
|
|
|
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"
|
2011-10-29 17:25:49 +02:00
|
|
|
export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1
|
|
|
|
export FAKETIME=$REFERENCE_DATETIME
|
|
|
|
export TZ=UTC
|
2011-10-24 21:27:54 +02:00
|
|
|
make $MAKEOPTS
|
2013-05-28 01:55:01 +02:00
|
|
|
make deploy
|
|
|
|
make install-strip
|
|
|
|
cp -f bitcoin-*setup*.exe $OUTDIR/
|
|
|
|
|
|
|
|
mkdir -p $OUTDIR/src
|
|
|
|
cp -f ../bitcoin-*.tar.* $OUTDIR/src
|