summaryrefslogblamecommitdiff
path: root/app-crypt/vanitysearch/vanitysearch-1.15.ebuild
blob: 5d2b141c5133507791be00d12d6db6dfe816eeb4 (plain) (tree)
1
2
3
4
5
                                    

                                                                  

                       









                                                                                         

















                                     
# 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
}