blob: 1b8ae1d2100488655b98f073998196df8bb6c232 (
plain)
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
34
35
36
37
38
39
40
41
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit eutils
DESCRIPTION="Standalone command line vanity address generator."
HOMEPAGE="https://github.com/samr7/vanitygen"
SRC_URI="https://github.com/samr7/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="opencl "
DEPEND="dev-libs/openssl[-bindist]
dev-libs/libpcre"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}/respect-cflags.patch"
}
src_compile() {
emake most || die "emake failed"
use opencl && emake oclvanitygen oclvanityminer
}
src_install() {
dobin vanitygen || die
dobin keyconv || die
if use opencl ; then
dobin oclvanitygen || die
dobin oclvanityminer || die
fi
dodoc README CHANGELOG || die
}
|