1 |
commit: 3137d83964a18d395483dd75065c750459976fbe |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 12 01:47:08 2020 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 12 01:48:43 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3137d839 |
7 |
|
8 |
net-p2p/cpuminer-opt: 3.11.3 version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
12 |
|
13 |
net-p2p/cpuminer-opt/Manifest | 1 + |
14 |
net-p2p/cpuminer-opt/cpuminer-opt-3.11.3.ebuild | 50 +++++++++++++++++++++++++ |
15 |
2 files changed, 51 insertions(+) |
16 |
|
17 |
diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest |
18 |
index c124d19986f..57b642f22da 100644 |
19 |
--- a/net-p2p/cpuminer-opt/Manifest |
20 |
+++ b/net-p2p/cpuminer-opt/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST cpuminer-opt-3.11.1.tar.gz 1924178 BLAKE2B 1ed7f07f89c94e7e15ac370e7873e5b37ec45c5b0132c3a8f2772558eb37666f1db41fbf78311f539d69f2b0858ef91478a9b1b469220e09fe07e20bd0147db3 SHA512 af6a70e0e60d7c6ab904fe29f37ba3f18327d9eb7b9700b53c28ca5d4f6693d124b01a9f382f608f4449f5a412ca57216bac354bc40d1793a1f1d40f7191dd7b |
23 |
DIST cpuminer-opt-3.11.2.tar.gz 1923535 BLAKE2B 24ee1f4e64771ac1f007fd5934569e53959692f95dfd9fe4a7b38d4d32cbd4d5dd3731a285ad4e9e1e9bbbfd56a86bc9a69de9d5392d6d9a858a816ad031575f SHA512 bdbe99b358e37d8170259e5575f28d0b8c2e7faa6159b389f173e1a74299483ae6c5b2173f7565943f4c36e8e99d436ffbb485e3012f53337599d9dbd004b1b9 |
24 |
+DIST cpuminer-opt-3.11.3.tar.gz 1924724 BLAKE2B 1e0cd26b7400b1d09fcc74bcadedb7da478f8b0be9c4c8ad8ce097e0a4c438068214139e9eb4901f0fa80a3c997ff9bb802788198236aba418703bdfc5edd0f8 SHA512 fd061644b15b5d2e68bca949a67bc6d2eab53e5d309c4e0c6766ccea0e956f49229e385e582144ef2dadf805eeee30a16b7409df3aad3184d68eb03c32ef1258 |
25 |
|
26 |
diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.11.3.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.11.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..a5d436b3b8b |
29 |
--- /dev/null |
30 |
+++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.11.3.ebuild |
31 |
@@ -0,0 +1,50 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit autotools flag-o-matic systemd |
38 |
+ |
39 |
+DESCRIPTION="Optimized multi algo CPU miner" |
40 |
+HOMEPAGE="https://github.com/JayDDee/cpuminer-opt" |
41 |
+IUSE="cpu_flags_x86_sse2 curl libressl" |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+REQUIRED_USE="cpu_flags_x86_sse2" |
45 |
+DEPEND=" |
46 |
+ dev-libs/gmp:0 |
47 |
+ dev-libs/jansson |
48 |
+ >=net-misc/curl-7.15[ssl] |
49 |
+ !libressl? ( dev-libs/openssl:0= ) |
50 |
+ libressl? ( dev-libs/libressl:0= ) |
51 |
+" |
52 |
+RDEPEND="${DEPEND}" |
53 |
+if [[ ${PV} == "9999" ]] ; then |
54 |
+ SRC_URI="" |
55 |
+ EGIT_REPO_URI="https://github.com/JayDDee/${PN}.git" |
56 |
+ inherit git-r3 |
57 |
+else |
58 |
+ KEYWORDS="~amd64" |
59 |
+ SRC_URI="https://github.com/JayDDee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
60 |
+fi |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ default |
64 |
+ eautoreconf |
65 |
+} |
66 |
+ |
67 |
+src_configure() { |
68 |
+ append-ldflags -Wl,-z,noexecstack |
69 |
+ econf --with-crypto --with-curl |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ default |
74 |
+ systemd_dounit "${FILESDIR}"/${PN}.service |
75 |
+ insinto "/etc/${PN}" |
76 |
+ doins cpuminer-conf.json |
77 |
+} |
78 |
+ |
79 |
+src_test() { |
80 |
+ ./cpuminer --cputest || die |
81 |
+} |