1 |
commit: c4cb65466801b44286976ed948b75b4d5b4afc19 |
2 |
Author: Mathy Vanvoorden <mathy <AT> vanvoorden <DOT> be> |
3 |
AuthorDate: Thu Oct 6 19:31:25 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 6 21:56:44 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4cb6546 |
7 |
|
8 |
net-p2p/go-ethereum: New package |
9 |
|
10 |
go-ethereum is a Go client for the Ethereum cryptocurrency. |
11 |
|
12 |
This ebuild was based on work found in the hnaparst overlay. |
13 |
|
14 |
Package-Manager: portage-2.3.0 |
15 |
Closes: https://github.com/gentoo/gentoo/pull/2497 |
16 |
|
17 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
18 |
|
19 |
net-p2p/go-ethereum/Manifest | 1 + |
20 |
net-p2p/go-ethereum/go-ethereum-1.4.16.ebuild | 29 +++++++++++++++++++++++++++ |
21 |
net-p2p/go-ethereum/metadata.xml | 15 ++++++++++++++ |
22 |
3 files changed, 45 insertions(+) |
23 |
|
24 |
diff --git a/net-p2p/go-ethereum/Manifest b/net-p2p/go-ethereum/Manifest |
25 |
new file mode 100644 |
26 |
index 00000000..f84a2b0 |
27 |
--- /dev/null |
28 |
+++ b/net-p2p/go-ethereum/Manifest |
29 |
@@ -0,0 +1 @@ |
30 |
+DIST go-ethereum-1.4.16.tar.gz 14755287 SHA256 8b63fbfb54c256a0f302d9823f8bdb6e8c6a9f6583047d492fc1d7e18c850769 SHA512 ffe97a36c98460405014f6f6f3709ec4fd0556fd9f8f319f120065b2f44b4bc80791143b8a960dc44f858b7f368cd630d3d38ba954402486d67193c76f2eb13f WHIRLPOOL 0bc39515a539116ad963f4d06def628b59199e09aaef17e0420eb649dbbd83395633371d5a2876db2e2a73b906c7d091de83e2a135cf9850d293c5d81624b7ec |
31 |
|
32 |
diff --git a/net-p2p/go-ethereum/go-ethereum-1.4.16.ebuild b/net-p2p/go-ethereum/go-ethereum-1.4.16.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000..365b89d |
35 |
--- /dev/null |
36 |
+++ b/net-p2p/go-ethereum/go-ethereum-1.4.16.ebuild |
37 |
@@ -0,0 +1,29 @@ |
38 |
+# Copyright 1999-2016 Gentoo Foundation |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+# $Id$ |
41 |
+ |
42 |
+EAPI=6 |
43 |
+ |
44 |
+DESCRIPTION="Official golang implementation of the Ethereum protocol" |
45 |
+HOMEPAGE="https://github.com/ethereum/go-ethereum" |
46 |
+SRC_URI="https://github.com/ethereum/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-3+ LGPL-3+" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+IUSE="evm" |
52 |
+ |
53 |
+DEPEND="dev-lang/go" |
54 |
+RDEPEND="${DEPEND}" |
55 |
+ |
56 |
+src_compile() { |
57 |
+ emake geth |
58 |
+ use evm && emake evm |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ einstalldocs |
63 |
+ |
64 |
+ dobin build/bin/geth |
65 |
+ use evm && dobin build/bin/evm |
66 |
+} |
67 |
|
68 |
diff --git a/net-p2p/go-ethereum/metadata.xml b/net-p2p/go-ethereum/metadata.xml |
69 |
new file mode 100644 |
70 |
index 00000000..d543310 |
71 |
--- /dev/null |
72 |
+++ b/net-p2p/go-ethereum/metadata.xml |
73 |
@@ -0,0 +1,15 @@ |
74 |
+<?xml version="1.0" encoding="UTF-8"?> |
75 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
76 |
+<pkgmetadata> |
77 |
+ <maintainer type="person"> |
78 |
+ <email>mathy@××××××××××.be</email> |
79 |
+ <name>Mathy Vanvoorden</name> |
80 |
+ </maintainer> |
81 |
+ <maintainer type="project"> |
82 |
+ <email>proxy-maint@g.o</email> |
83 |
+ <name>Proxy Maintainers</name> |
84 |
+ </maintainer> |
85 |
+ <use> |
86 |
+ <flag name="evm">Build Ethereum Virtual Machine (EVM)</flag> |
87 |
+ </use> |
88 |
+</pkgmetadata> |