bitcoin: update to 0.8.1 (cross build support; missing -qt subpkg).

This commit is contained in:
Juan RP 2013-03-19 09:55:08 +01:00
parent 2c01d461a7
commit ca916065df
1 changed files with 16 additions and 5 deletions

View File

@ -1,21 +1,32 @@
# Template file for 'bitcoin'
pkgname=bitcoin
version=0.8.0
version=0.8.1
revision=1
wrksrc="${pkgname}-${version}-linux"
subpackages="bitcoin-qt"
makedepends="which qt-devel boost-devel automoc4 miniupnpc-devel"
makedepends="which db-devel openssl-devel qt-devel boost-devel automoc4 miniupnpc-devel"
short_desc="Bitcoin is a peer-to-peer network based digital currency"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://www.bitcoin.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-linux.tar.gz"
checksum=e31529147d307b2240e08af3a5a4606fe2c112d1b0e91e3cce4a2bac2583cecc
checksum=6d7f023a9df1a436c51de83f7cd751f162be9b4fb1c06da05545f9fba7cb2a98
disable_debug=1
if [ -n "$XBPS_CROSS_BUILD" ]; then
# XXX -qt subpkg
unset subpackages
makedepends="which"
crossmakedepends="db-devel openssl-devel boost-devel miniupnpc-devel"
fi
do_build() {
cd src
# qt gui
qmake && make ${makejobs}
if [ -z "$XBPS_CROSS_BUILD" ]; then
# qt gui
qmake && make ${makejobs}
fi
# daemon
make -f makefile.unix -C src ${makejobs} USE_UPNP=1
}