---
-name: "bitcoin"
+name: "ppcoin"
suites:
- "lucid"
architectures:
- "libpng12-dev"
reference_datetime: "2011-01-30 00:00:00"
remotes:
-- "url": "https://github.com/bitcoin/bitcoin.git"
- "dir": "bitcoin"
+- "url": "https://github.com/ppcoin/ppcoin.git"
+ "dir": "ppcoin"
files:
- "miniupnpc-1.6.tar.gz"
- "qrencode-3.2.0.tar.bz2"
make $MAKEOPTS install
cd ..
#
- cd bitcoin
+ cd ppcoin
mkdir -p $OUTDIR/src
- cp -a . $OUTDIR/src
- rm -rf $OUTDIR/src/.git
+ git archive HEAD | tar -x -C $OUTDIR/src
cp $OUTDIR/src/doc/README $OUTDIR
cp $OUTDIR/src/COPYING $OUTDIR
cd src
- sed 's/$(DEBUGFLAGS)//' -i makefile.unix
- make -f makefile.unix STATIC=1 OPENSSL_INCLUDE_PATH="$INSTDIR/include" OPENSSL_LIB_PATH="$INSTDIR/lib" $MAKEOPTS bitcoind USE_UPNP=0 USE_SSL=1
+ make -f makefile.unix STATIC=1 OPENSSL_INCLUDE_PATH="$INSTDIR/include" OPENSSL_LIB_PATH="$INSTDIR/lib" $MAKEOPTS ppcoind USE_UPNP=1 DEBUGFLAGS=
mkdir -p $OUTDIR/bin/$GBUILD_BITS
- install -s bitcoind $OUTDIR/bin/$GBUILD_BITS
+ install -s ppcoind $OUTDIR/bin/$GBUILD_BITS
+ #
cd ..
- qmake INCLUDEPATH="$INSTDIR/include" LIBS="-L$INSTDIR/lib" RELEASE=1 USE_SSL=1 USE_QRCODE=1
+ qmake INCLUDEPATH="$INSTDIR/include" LIBS="-L$INSTDIR/lib" RELEASE=1 USE_QRCODE=1
make $MAKEOPTS
- install bitcoin-qt $OUTDIR/bin/$GBUILD_BITS
+ install ppcoin-qt $OUTDIR/bin/$GBUILD_BITS