summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-crypt/vanitygen/Manifest1
-rw-r--r--app-crypt/vanitygen/metadata.xml8
-rw-r--r--app-crypt/vanitygen/vanitygen-0.21.ebuild36
3 files changed, 45 insertions, 0 deletions
diff --git a/app-crypt/vanitygen/Manifest b/app-crypt/vanitygen/Manifest
new file mode 100644
index 00000000..a9e095d9
--- /dev/null
+++ b/app-crypt/vanitygen/Manifest
@@ -0,0 +1 @@
+DIST vanitygen-0.21.tar.gz 77441 SHA512 339fd0ddb7e78d55f95c7e4797d3e2e92dce407a8221f42f3e9971d07210fcea0d681e32247d2d1d46a0946a7e735597eb32dc981ac4f1796abe2ec0a141e88f WHIRLPOOL 46bc750668834a7aa15faf56af95900d758d5a5fe51fa8c4886f78485a9afabfd9b625cea5a287e41f78fac3cd44f81f87d87aa6318a91826fc46446d690a06d
diff --git a/app-crypt/vanitygen/metadata.xml b/app-crypt/vanitygen/metadata.xml
new file mode 100644
index 00000000..82f7232e
--- /dev/null
+++ b/app-crypt/vanitygen/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>bertrand@jacquin.bzh</email>
+ <name>Bertrand Jacquin</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-crypt/vanitygen/vanitygen-0.21.ebuild b/app-crypt/vanitygen/vanitygen-0.21.ebuild
new file mode 100644
index 00000000..29e6229e
--- /dev/null
+++ b/app-crypt/vanitygen/vanitygen-0.21.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="Vanity bitcoin 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=""
+
+DEPEND="dev-libs/openssl:0
+ dev-libs/libpcre:="
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+
+ tc-export CC
+
+ filter-flags -O?
+ append-cflags -O3
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}"
+}
+
+src_install () {
+ dobin vanitygen keyconv
+ dodoc CHANGELOG README
+}