diff options
author | 2013-08-18 16:37:09 +0200 | |
---|---|---|
committer | 2013-08-18 16:37:09 +0200 | |
commit | 3730b36f73dd266bb23fc0ed8e702eed85cc75b6 (patch) | |
tree | 87ed40bf3114003b918bc2ff6dcfc9f55d0d53d7 | |
parent | pushed infector to 0.4 & eapi 4 (diff) | |
download | andy-3730b36f73dd266bb23fc0ed8e702eed85cc75b6.tar.gz andy-3730b36f73dd266bb23fc0ed8e702eed85cc75b6.tar.bz2 andy-3730b36f73dd266bb23fc0ed8e702eed85cc75b6.zip |
added vanitygen
-rw-r--r-- | net-p2p/vanitygen/Manifest | 3 | ||||
-rw-r--r-- | net-p2p/vanitygen/files/respect-cflags.patch | 10 | ||||
-rw-r--r-- | net-p2p/vanitygen/vanitygen-0.21.ebuild | 41 |
3 files changed, 54 insertions, 0 deletions
diff --git a/net-p2p/vanitygen/Manifest b/net-p2p/vanitygen/Manifest new file mode 100644 index 0000000..071a47e --- /dev/null +++ b/net-p2p/vanitygen/Manifest @@ -0,0 +1,3 @@ +AUX respect-cflags.patch 313 SHA256 8bca4f112c24f44d0830647714026555919310f30f7e29986e45e2c59d7c9ac2 SHA512 11670c89fbfeab8743430bd32a0346a12ebd909d6d1ffdf5a4219e83ef70c01c1e984cc270bb57cc460056448ca48ce18f46533cc4444cf7da2d196c2e07bf22 WHIRLPOOL 2a55c1a7831018079937ba7af61c4d114008672b4df17363a2c5b0a3ef2048aa8992af3f79de6ca028cdeb7bfea3290ba33e6c1626a0f0551bffe265e3d3a1dc +DIST vanitygen-0.21.tar.gz 77441 SHA256 58c56e1ec51c654077ace5599d4f9dc512110e2150fe40a05380f948b305be7f SHA512 339fd0ddb7e78d55f95c7e4797d3e2e92dce407a8221f42f3e9971d07210fcea0d681e32247d2d1d46a0946a7e735597eb32dc981ac4f1796abe2ec0a141e88f WHIRLPOOL 46bc750668834a7aa15faf56af95900d758d5a5fe51fa8c4886f78485a9afabfd9b625cea5a287e41f78fac3cd44f81f87d87aa6318a91826fc46446d690a06d +EBUILD vanitygen-0.21.ebuild 815 SHA256 9293f158957e613cdb4a55ab79658c1fc3ee712777f250829f8a8e3a078e0170 SHA512 5b577f3014d0c4bd128319fdd8c5dd4098d56697f5375bbbed0f0f2c314cbfd0c399912c00abe247a15ad7190c7185ceb8f1966b08d4bfbd9249f2ba2bbb961f WHIRLPOOL 4108b94a8e79a21bcaaa820e64aa136a09210e2a46a85af516e0cc5725e018166b5b54b667697917e0619e48f1aa255102cb27ff16a30a00bba4bfc96ded7b76 diff --git a/net-p2p/vanitygen/files/respect-cflags.patch b/net-p2p/vanitygen/files/respect-cflags.patch new file mode 100644 index 0000000..91eba3d --- /dev/null +++ b/net-p2p/vanitygen/files/respect-cflags.patch @@ -0,0 +1,10 @@ +diff --git a/Makefile b/Makefile +index 3486201..1e093f8 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,5 +1,4 @@ + LIBS=-lpcre -lcrypto -lm -lpthread +-CFLAGS=-ggdb -O3 -Wall + OBJS=vanitygen.o oclvanitygen.o oclvanityminer.o oclengine.o keyconv.o pattern.o util.o + PROGS=vanitygen keyconv oclvanitygen oclvanityminer + diff --git a/net-p2p/vanitygen/vanitygen-0.21.ebuild b/net-p2p/vanitygen/vanitygen-0.21.ebuild new file mode 100644 index 0000000..059a04b --- /dev/null +++ b/net-p2p/vanitygen/vanitygen-0.21.ebuild @@ -0,0 +1,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 + 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 +} |