You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
851 B
33 lines
851 B
# Copyright 2010-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
BITCOINCORE_COMMITHASH="0d719145b018e28d48d35c2646a5962b87c60436"
|
|
BITCOINCORE_LJR_DATE="20170102"
|
|
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}
|
|
}
|