| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.3.1 | 7 | ~amd64 ~x86 | 0 |
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit autotools cuda flag-o-matic
DESCRIPTION="Bitcoin CPU/GPU/FPGA miner in C"
HOMEPAGE="https://bitcointalk.org/index.php?topic=28402.0"
SRC_URI="https://github.com/tpruvot/${PN}/archive/${PV}-tpruvot.tar.gz -> ccminer-v${PV}.tgz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="hardened"
DEPEND="
net-misc/curl
dev-libs/jansson
"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${P}-tpruvot"
src_prepare() {
default
cuda_src_prepare
export CUDA_CFLAGS=$NVCCFLAGS
eautoreconf
}
src_configure() {
strip-flags
filter-flags -ggdb -pipe -m*
append-cppflags -I/opt/cuda/include
append-ldflags -L/opt/cuda/lib64
use hardened && append-cppflags -no-pie
default
}
src_install() {
dobin ccminer
dodoc README.txt
}
net-misc/curl dev-libs/jansson
net-misc/curl dev-libs/jansson
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | ccminer-v2.3.1.tgz | 31321171 bytes | https://github.com/tpruvot/ccminer/archive/2.3.1-tpruvot.tar.gz |