1 |
commit: 3e6628649d9d393d25ed95e39b5d8b374cd06f36 |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 31 18:07:08 2018 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 31 18:09:47 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e662864 |
7 |
|
8 |
net-p2p/cpuminer-opt: 3.8.6 version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.27, Repoman-2.3.9 |
11 |
|
12 |
net-p2p/cpuminer-opt/Manifest | 1 + |
13 |
net-p2p/cpuminer-opt/cpuminer-opt-3.8.6.ebuild | 46 ++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest |
17 |
index 0cc7f697900..fb07a16d22a 100644 |
18 |
--- a/net-p2p/cpuminer-opt/Manifest |
19 |
+++ b/net-p2p/cpuminer-opt/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST cpuminer-opt-3.8.4.1.tar.gz 1678548 BLAKE2B 86ff1dce5abf735982f1272f6a97a18bb06d57d0f8008050ae5531323158e629325292c0cd8ba1ef1f1fb9a5d8a79848ea19cb7ab42b1baab40b12d4fd27f921 SHA512 38f8f62de08cc9fbcaa187f4abac2238a3aa0011c6d4bede67b48bc78add32e78bd0e3edb422795246573ece17397a32067d2f20dbc64f020b23f5a86c767021 |
22 |
DIST cpuminer-opt-3.8.5.tar.gz 1701640 BLAKE2B b42d52da56e141bac42b4e5159325f8344434ecfee6e740fbd3c10cc64b448c6b849b029ea703e0f63e6720625fedcfd84e22dd34fc4a4ce37a88e120337ac1e SHA512 27047b8ee4c2a84f40f62ee6a0a4b24245096ade061d55c3c5374aa12e548aeb6d2dc665799ac81edaabcce63a21af11cef8df6ad050fb8cc7094170ec7a8384 |
23 |
+DIST cpuminer-opt-3.8.6.tar.gz 1701535 BLAKE2B ed51168879e6ca6ada67f13b7325b36c8e58dd3d6d71c55993e84ff9363864fd503f70849fd29366607e57b23f1493539e0e17d1043295266ed4505fbd032cb7 SHA512 57ab3ff3f0a298a4c24d0d8cf4f145627435bbdc4577952995a8babbd7838ae36e56a0d1e2b4c8900af6beecae95af29fef58b74b9afb5268307b67043ef93c4 |
24 |
|
25 |
diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.8.6.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.8.6.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..a1f4a660f6b |
28 |
--- /dev/null |
29 |
+++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.8.6.ebuild |
30 |
@@ -0,0 +1,46 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit autotools flag-o-matic systemd |
37 |
+ |
38 |
+DESCRIPTION="Optimized multi algo CPU miner" |
39 |
+HOMEPAGE="https://github.com/JayDDee/cpuminer-opt" |
40 |
+IUSE="cpu_flags_x86_sse2 curl libressl" |
41 |
+LICENSE="GPL-2" |
42 |
+SLOT="0" |
43 |
+REQUIRED_USE="cpu_flags_x86_sse2" |
44 |
+DEPEND=" |
45 |
+ dev-libs/gmp:0 |
46 |
+ dev-libs/jansson |
47 |
+ curl? ( >=net-misc/curl-7.15[ssl] ) |
48 |
+ !libressl? ( dev-libs/openssl:0= ) |
49 |
+ libressl? ( dev-libs/libressl:0= ) |
50 |
+" |
51 |
+RDEPEND="${DEPEND}" |
52 |
+if [[ ${PV} == "9999" ]] ; then |
53 |
+ SRC_URI="" |
54 |
+ EGIT_REPO_URI="https://github.com/JayDDee/${PN}.git" |
55 |
+ inherit git-r3 |
56 |
+else |
57 |
+ KEYWORDS="~amd64" |
58 |
+ SRC_URI="https://github.com/JayDDee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
59 |
+fi |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ eautoreconf |
64 |
+} |
65 |
+ |
66 |
+src_configure() { |
67 |
+ append-ldflags -Wl,-z,noexecstack |
68 |
+ econf --with-crypto $(use_with curl) |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ default |
73 |
+ systemd_dounit "${FILESDIR}"/${PN}.service |
74 |
+ insinto "/etc/${PN}" |
75 |
+ doins cpuminer-conf.json |
76 |
+} |