blob: ed503cc6e949b0cd7905b9c68a05f8d53377af6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 2010-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
BITCOINCORE_COMMITHASH="a402396dce64c42ea73535b7dde4a9164d430438"
BITCOINCORE_LJR_DATE="20160814"
BITCOINCORE_IUSE="+ljr"
inherit bash-completion-r1 bitcoincore
DESCRIPTION="Command-line JSON-RPC client specifically designed for talking to Bitcoin Core Daemon"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux"
src_prepare() {
sed -i 's/have bitcoind &&//;s/^\(complete -F _bitcoind \)bitcoind \(bitcoin-cli\)$/\1\2/' contrib/bitcoind.bash-completion || die
bitcoincore_src_prepare
}
src_configure() {
bitcoincore_conf \
--enable-util-cli
}
src_install() {
bitcoincore_src_install
doman contrib/debian/manpages/bitcoin-cli.1
newbashcomp contrib/bitcoind.bash-completion ${PN}
}
|