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.
57 lines
1.8 KiB
57 lines
1.8 KiB
14 years ago
|
---
|
||
|
name: "bitcoin"
|
||
|
suites:
|
||
11 years ago
|
- "precise"
|
||
14 years ago
|
architectures:
|
||
|
- "i386"
|
||
|
- "amd64"
|
||
|
packages:
|
||
13 years ago
|
- "qt4-qmake"
|
||
|
- "libqt4-dev"
|
||
13 years ago
|
- "libboost-system-dev"
|
||
|
- "libboost-filesystem-dev"
|
||
|
- "libboost-program-options-dev"
|
||
|
- "libboost-thread-dev"
|
||
12 years ago
|
- "libboost-test-dev"
|
||
14 years ago
|
- "libssl-dev"
|
||
|
- "git-core"
|
||
13 years ago
|
- "unzip"
|
||
13 years ago
|
- "pkg-config"
|
||
12 years ago
|
- "autoconf2.13"
|
||
|
- "libtool"
|
||
|
- "automake"
|
||
|
- "faketime"
|
||
11 years ago
|
- "bsdmainutils"
|
||
12 years ago
|
reference_datetime: "2013-06-01 00:00:00"
|
||
14 years ago
|
remotes:
|
||
|
- "url": "https://github.com/bitcoin/bitcoin.git"
|
||
|
"dir": "bitcoin"
|
||
|
files:
|
||
11 years ago
|
- "bitcoin-deps-linux32-gitian-r1.zip"
|
||
|
- "bitcoin-deps-linux64-gitian-r1.zip"
|
||
14 years ago
|
script: |
|
||
12 years ago
|
STAGING="$HOME/install"
|
||
11 years ago
|
OPTFLAGS='-O2'
|
||
11 years ago
|
BINDIR="${OUTDIR}/bin/${GBUILD_BITS}" # 32/64 bit build specific output directory
|
||
12 years ago
|
export LIBRARY_PATH="$STAGING/lib"
|
||
11 years ago
|
mkdir -p ${BINDIR}
|
||
14 years ago
|
#
|
||
11 years ago
|
mkdir -p $STAGING
|
||
|
cd $STAGING
|
||
11 years ago
|
unzip ../build/bitcoin-deps-linux${GBUILD_BITS}-gitian-r1.zip
|
||
11 years ago
|
cd ../build
|
||
11 years ago
|
#
|
||
14 years ago
|
cd bitcoin
|
||
12 years ago
|
export TAR_OPTIONS=--mtime=`echo $REFERENCE_DATETIME | awk '{ print $1 }'`
|
||
|
./autogen.sh
|
||
11 years ago
|
./configure --prefix=$STAGING --bindir=$BINDIR --with-protoc-bindir=$STAGING/host/bin --disable-maintainer-mode --disable-dependency-tracking PKG_CONFIG_PATH="$STAGING/lib/pkgconfig" CPPFLAGS="-I$STAGING/include ${OPTFLAGS}" LDFLAGS="-L$STAGING/lib ${OPTFLAGS}" CXXFLAGS="-frandom-seed=bitcoin ${OPTFLAGS}"
|
||
12 years ago
|
make dist
|
||
|
mkdir -p distsrc
|
||
|
cd distsrc
|
||
|
tar --strip-components=1 -xf ../bitcoin-*.tar.*
|
||
11 years ago
|
./configure --prefix=$STAGING --bindir=$BINDIR --with-protoc-bindir=$STAGING/host/bin --disable-maintainer-mode --disable-dependency-tracking PKG_CONFIG_PATH="$STAGING/lib/pkgconfig" CPPFLAGS="-I$STAGING/include ${OPTFLAGS}" LDFLAGS="-L$STAGING/lib ${OPTFLAGS}" CXXFLAGS="-frandom-seed=bitcoin ${OPTFLAGS}"
|
||
13 years ago
|
make $MAKEOPTS
|
||
12 years ago
|
make $MAKEOPTS install-strip
|
||
|
mkdir -p $OUTDIR/src
|
||
|
cp ../bitcoin-*.tar.* $OUTDIR/src
|