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.

gitian.yml 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ---
  2. name: "bitcoin"
  3. suites:
  4. - "lucid"
  5. architectures:
  6. - "i386"
  7. - "amd64"
  8. packages:
  9. - "libdb4.8++-dev"
  10. - "libxxf86vm-dev"
  11. - "libgtk2.0-dev"
  12. - "libboost-all-dev"
  13. - "libssl-dev"
  14. - "git-core"
  15. reference_datetime: "2011-01-30 00:00:00"
  16. remotes:
  17. - "url": "https://github.com/bitcoin/bitcoin.git"
  18. "dir": "bitcoin"
  19. files:
  20. - "wxWidgets-2.9.2.tar.bz2"
  21. - "miniupnpc-1.6.tar.gz"
  22. script: |
  23. INSTDIR="$HOME/install"
  24. export LIBRARY_PATH="$INSTDIR/lib"
  25. #
  26. tar xzf miniupnpc-1.6.tar.gz
  27. cd miniupnpc-1.6
  28. INSTALLPREFIX=$INSTDIR make $MAKEOPTS install
  29. cd ..
  30. #
  31. tar xjf wxWidgets-2.9.2.tar.bz2
  32. cd wxWidgets-2.9.2
  33. ./configure --prefix=$INSTDIR --enable-monolithic --disable-shared
  34. perl -i -p -e "s/__TIME__/\"$REFERENCE_TIME\"/;s/__DATE__/\"$REFERENCE_DATE\"/" include/wx/chartype.h
  35. make $MAKEOPTS install
  36. cd ..
  37. #
  38. cd bitcoin
  39. mkdir -p $OUTDIR/src
  40. cp -a . $OUTDIR/src
  41. rm -rf $OUTDIR/src/.git
  42. mv $OUTDIR/src/locale $OUTDIR
  43. cp $OUTDIR/src/doc/README $OUTDIR
  44. cp $OUTDIR/src/COPYING $OUTDIR
  45. cd src
  46. sed 's/$(DEBUGFLAGS)//' -i makefile.unix
  47. PATH=$INSTDIR/bin:$PATH make -f makefile.unix CXX="g++ -I$INSTDIR/include -L$INSTDIR/lib" $MAKEOPTS bitcoin USE_UPNP=1
  48. PATH=$INSTDIR/bin:$PATH make -f makefile.unix CXX="g++ -I$INSTDIR/include -L$INSTDIR/lib" $MAKEOPTS bitcoind USE_UPNP=0
  49. mkdir -p $OUTDIR/bin/$GBUILD_BITS
  50. install -s bitcoin bitcoind $OUTDIR/bin/$GBUILD_BITS