summaryrefslogtreecommitdiff
path: root/app-crypt/vanitysearch/vanitysearch-1.15.ebuild
blob: 5d2b141c5133507791be00d12d6db6dfe816eeb4 (plain) (blame)
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
33
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit toolchain-funcs

DESCRIPTION="Bitcoin address prefix finder"
HOMEPAGE="https://github.com/JeanLucPons/VanitySearch"
SRC_URI="https://github.com/JeanLucPons/VanitySearch/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

S="${WORKDIR}/VanitySearch-${PV}"

src_prepare() {
	default

	tc-export CXX
}

src_compile() {
	emake \
		CXX="${CXX}" \
		CUDA="${EPREFIX}/usr"
}

src_install () {
	dobin VanitySearch
	dodoc README.md
}