void-packages/srcpkgs/bitcoin/template
2012-07-04 15:31:21 +02:00

34 lines
1.3 KiB
Text

# Template file for 'bitcoin'
pkgname=bitcoin
version=0.6.3
revision=1
wrksrc="bitcoin-bitcoin-bbe1084"
subpackages="bitcoin-qt"
makedepends="which 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="GPL-3"
homepage="http://www.bitcoin.org/"
distfiles="http://xbps.nopcode.org/distfiles/$pkgname-$version.tar.gz"
checksum=3f1a0df5d713c9e4f54f00a8f3f75c6828041afd826e16976b00229de0aecb70
long_desc="
Bitcoin is an experimental new digital currency that enables instant payments
to anyone, anywhere in the world. Bitcoin uses peer-to-peer technology to
operate with no central authority: managing transactions and issuing money are
carried out collectively by the network. Bitcoin is also the name of the open
source software which enables the use of this currency."
do_build() {
# qt gui
qmake && make ${makejobs}
# daemon
make -f makefile.unix -C src ${makejobs} USE_UPNP=1
}
do_install() {
vinstall src/bitcoind 755 usr/bin
vinstall contrib/debian/examples/bitcoin.conf 644 usr/share/examples/$pkgname
vinstall contrib/debian/manpages/bitcoind.1 644 usr/share/man/man1
vinstall contrib/debian/manpages/bitcoin.conf.5 644 usr/share/man/man5
vinstall COPYING 644 usr/share/licenses/$pkgname
}