commit:     c4cb65466801b44286976ed948b75b4d5b4afc19
Author:     Mathy Vanvoorden <mathy <AT> vanvoorden <DOT> be>
AuthorDate: Thu Oct  6 19:31:25 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Oct  6 21:56:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4cb6546

net-p2p/go-ethereum: New package

go-ethereum is a Go client for the Ethereum cryptocurrency.

This ebuild was based on work found in the hnaparst overlay.

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2497

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-p2p/go-ethereum/Manifest                  |  1 +
 net-p2p/go-ethereum/go-ethereum-1.4.16.ebuild | 29 +++++++++++++++++++++++++++
 net-p2p/go-ethereum/metadata.xml              | 15 ++++++++++++++
 3 files changed, 45 insertions(+)

diff --git a/net-p2p/go-ethereum/Manifest b/net-p2p/go-ethereum/Manifest
new file mode 100644
index 00000000..f84a2b0
--- /dev/null
+++ b/net-p2p/go-ethereum/Manifest
@@ -0,0 +1 @@
+DIST go-ethereum-1.4.16.tar.gz 14755287 SHA256 
8b63fbfb54c256a0f302d9823f8bdb6e8c6a9f6583047d492fc1d7e18c850769 SHA512 
ffe97a36c98460405014f6f6f3709ec4fd0556fd9f8f319f120065b2f44b4bc80791143b8a960dc44f858b7f368cd630d3d38ba954402486d67193c76f2eb13f
 WHIRLPOOL 
0bc39515a539116ad963f4d06def628b59199e09aaef17e0420eb649dbbd83395633371d5a2876db2e2a73b906c7d091de83e2a135cf9850d293c5d81624b7ec

diff --git a/net-p2p/go-ethereum/go-ethereum-1.4.16.ebuild 
b/net-p2p/go-ethereum/go-ethereum-1.4.16.ebuild
new file mode 100644
index 00000000..365b89d
--- /dev/null
+++ b/net-p2p/go-ethereum/go-ethereum-1.4.16.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Official golang implementation of the Ethereum protocol"
+HOMEPAGE="https://github.com/ethereum/go-ethereum";
+SRC_URI="https://github.com/ethereum/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3+ LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="evm"
+
+DEPEND="dev-lang/go"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+       emake geth
+       use evm && emake evm
+}
+
+src_install() {
+       einstalldocs
+
+       dobin build/bin/geth
+       use evm && dobin build/bin/evm
+}

diff --git a/net-p2p/go-ethereum/metadata.xml b/net-p2p/go-ethereum/metadata.xml
new file mode 100644
index 00000000..d543310
--- /dev/null
+++ b/net-p2p/go-ethereum/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Mathy Vanvoorden</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <use>
+               <flag name="evm">Build Ethereum Virtual Machine (EVM)</flag>
+       </use>
+</pkgmetadata>

Reply via email to