libbitcoin-blockchain-9999.ebuild (739B)
1 # Copyright 1999-2022 Gentoo Authors 2 # Distributed under the terms of the GNU General Public License v2 3 4 EAPI=8 5 6 inherit autotools git-r3 7 8 DESCRIPTION="Bitcoin blockchain library" 9 HOMEPAGE="https://libbitcoin.info" 10 EGIT_REPO_URI="https://github.com/libbitcoin/${PN}" 11 12 LICENSE="AGPL-3+" 13 SLOT="0" 14 KEYWORDS="~amd64 ~x86" 15 IUSE="static-libs debug test +consensus +tools" 16 17 DEPEND=" 18 >=dev-libs/boost-1.72.0:=[threads(+)] 19 >=net-p2p/libbitcoin-database-${PV} 20 consensus? ( >=net-p2p/libbitcoin-consensus-${PV} ) 21 " 22 RDEPEND="${DEPEND}" 23 24 src_prepare() { 25 eautoreconf 26 default 27 } 28 29 src_configure() { 30 econf \ 31 $(use_with test tests) \ 32 $(use_with tools) \ 33 $(use_with consensus) \ 34 $(use_enable static-libs static) \ 35 $(use_enable debug ndebug) 36 }