void-packages/srcpkgs/bitcoin/template

36 lines
1.3 KiB
Plaintext
Raw Normal View History

2012-07-04 15:31:21 +02:00
# Template file for 'bitcoin'
pkgname=bitcoin
2012-12-14 16:39:15 +01:00
version=0.7.2
2012-07-04 15:31:21 +02:00
revision=1
2012-09-19 17:52:03 +02:00
wrksrc="${pkgname}-${version}-linux"
2012-07-04 15:31:21 +02:00
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>"
2012-09-19 17:52:03 +02:00
license="MIT"
2012-07-04 15:31:21 +02:00
homepage="http://www.bitcoin.org/"
2012-09-19 17:52:03 +02:00
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-linux.tar.gz"
2012-12-14 16:39:15 +01:00
checksum=23d44161670c521f2aba64f9351b42260baa6bb2981640617c8e2e7683e5855c
2012-07-04 15:31:21 +02:00
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() {
2012-09-19 17:52:03 +02:00
cd src
2012-07-04 15:31:21 +02:00
# qt gui
qmake && make ${makejobs}
# daemon
make -f makefile.unix -C src ${makejobs} USE_UPNP=1
}
do_install() {
2012-09-19 17:52:03 +02:00
vinstall src/src/bitcoind 755 usr/bin
vinstall src/contrib/debian/examples/bitcoin.conf 644 usr/share/examples/$pkgname
vinstall src/contrib/debian/manpages/bitcoind.1 644 usr/share/man/man1
vinstall src/contrib/debian/manpages/bitcoin.conf.5 644 usr/share/man/man5
2012-07-04 15:31:21 +02:00
vinstall COPYING 644 usr/share/licenses/$pkgname
}