twisterp2pblockchainnetworkbittorrentipv6microbloggingsocial-networkdhtdecentralizedtwister-coretwisterarmyp2p-networktwister-servertwister-ipv6
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.
60 lines
1.7 KiB
60 lines
1.7 KiB
14 years ago
|
---
|
||
|
name: "bitcoin"
|
||
|
suites:
|
||
|
- "lucid"
|
||
|
architectures:
|
||
|
- "i386"
|
||
|
- "amd64"
|
||
|
packages:
|
||
14 years ago
|
- "libdb4.8++-dev"
|
||
14 years ago
|
- "libxxf86vm-dev"
|
||
|
- "libgtk2.0-dev"
|
||
|
- "libboost-all-dev"
|
||
|
- "libssl-dev"
|
||
|
- "git-core"
|
||
14 years ago
|
- "unzip"
|
||
14 years ago
|
reference_datetime: "2011-01-30 00:00:00"
|
||
|
remotes:
|
||
|
- "url": "https://github.com/bitcoin/bitcoin.git"
|
||
|
"dir": "bitcoin"
|
||
|
files:
|
||
14 years ago
|
- "wxWidgets-2.9.2-x64-gitian.zip"
|
||
|
- "wxWidgets-2.9.2-x32-gitian.zip"
|
||
14 years ago
|
- "miniupnpc-1.6.tar.gz"
|
||
14 years ago
|
script: |
|
||
|
INSTDIR="$HOME/install"
|
||
|
export LIBRARY_PATH="$INSTDIR/lib"
|
||
14 years ago
|
#
|
||
14 years ago
|
tar xzf miniupnpc-1.6.tar.gz
|
||
|
cd miniupnpc-1.6
|
||
14 years ago
|
INSTALLPREFIX=$INSTDIR make $MAKEOPTS install
|
||
|
cd ..
|
||
|
#
|
||
14 years ago
|
mkdir -p $INSTDIR/bin $INSTDIR/lib/wx $INSTDIR/include
|
||
|
mkdir wxWidgets-2.9.2
|
||
14 years ago
|
cd wxWidgets-2.9.2
|
||
14 years ago
|
unzip ../wxWidgets-2.9.2-x32-gitian.zip
|
||
13 years ago
|
unzip -o ../wxWidgets-2.9.2-x64-gitian.zip
|
||
14 years ago
|
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
|
||
14 years ago
|
cd ..
|
||
|
#
|
||
|
cd bitcoin
|
||
14 years ago
|
mkdir -p $OUTDIR/src
|
||
|
cp -a . $OUTDIR/src
|
||
|
rm -rf $OUTDIR/src/.git
|
||
|
mv $OUTDIR/src/locale $OUTDIR
|
||
14 years ago
|
cp $OUTDIR/src/doc/README $OUTDIR
|
||
|
cp $OUTDIR/src/COPYING $OUTDIR
|
||
|
cd src
|
||
14 years ago
|
sed 's/$(DEBUGFLAGS)//' -i makefile.unix
|
||
14 years ago
|
PATH=$INSTDIR/bin:$PATH make -f makefile.unix CXX="g++ -I$INSTDIR/include -L$INSTDIR/lib" $MAKEOPTS bitcoin USE_UPNP=1
|
||
|
PATH=$INSTDIR/bin:$PATH make -f makefile.unix CXX="g++ -I$INSTDIR/include -L$INSTDIR/lib" $MAKEOPTS bitcoind USE_UPNP=0
|
||
14 years ago
|
mkdir -p $OUTDIR/bin/$GBUILD_BITS
|
||
14 years ago
|
install -s bitcoin bitcoind $OUTDIR/bin/$GBUILD_BITS
|