1 |
commit: ab55ed471df20fdd4356dead4f5c2da94ea6b5af |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 28 13:47:35 2018 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 28 13:50:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab55ed47 |
7 |
|
8 |
net-p2p/cpuminer-opt: 3.8.5 version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
net-p2p/cpuminer-opt/Manifest | 1 + |
13 |
net-p2p/cpuminer-opt/cpuminer-opt-3.8.5.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 52ad6f31c04..be49e96602a 100644 |
18 |
--- a/net-p2p/cpuminer-opt/Manifest |
19 |
+++ b/net-p2p/cpuminer-opt/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST cpuminer-opt-3.8.3.2.tar.gz 1675230 BLAKE2B a0176c1152c695c1fde4f06911407b1 |
21 |
DIST cpuminer-opt-3.8.3.3.tar.gz 1676500 BLAKE2B 7b3415f812c685b6054d4cb7236b681466fa6440c707e461c0fe03e4091906770bbe0851c4cb49d0fe1b99e11a8510f4462c2d8f05373aaa873a12fa7326a247 SHA512 6706930e2a317d54a349a6a5b71cbf4a3a7fb7ff1759376f35884aa21ef947635817c0f17fe82c53685bc652423245fdc25decf9ee23016bf86da47caacc161a |
22 |
DIST cpuminer-opt-3.8.4.1.tar.gz 1678548 BLAKE2B 86ff1dce5abf735982f1272f6a97a18bb06d57d0f8008050ae5531323158e629325292c0cd8ba1ef1f1fb9a5d8a79848ea19cb7ab42b1baab40b12d4fd27f921 SHA512 38f8f62de08cc9fbcaa187f4abac2238a3aa0011c6d4bede67b48bc78add32e78bd0e3edb422795246573ece17397a32067d2f20dbc64f020b23f5a86c767021 |
23 |
DIST cpuminer-opt-3.8.4.tar.gz 1679290 BLAKE2B 94df217115f543ce95126553fa0d295e0ed2b13e766c114926ad449370a825cae5b95f5b5c34461f28a100fc102ae5227e2e9686db7500c5d3d4c7e2a3fb1804 SHA512 60bb0bb91a53362c64d7992e1c7e34b09be60d57c4cb150d904985562b5331368ce0d130d6699a292d63af826634f3cad938c84e6684b58d4aa9b31c7489de05 |
24 |
+DIST cpuminer-opt-3.8.5.tar.gz 1701640 BLAKE2B b42d52da56e141bac42b4e5159325f8344434ecfee6e740fbd3c10cc64b448c6b849b029ea703e0f63e6720625fedcfd84e22dd34fc4a4ce37a88e120337ac1e SHA512 27047b8ee4c2a84f40f62ee6a0a4b24245096ade061d55c3c5374aa12e548aeb6d2dc665799ac81edaabcce63a21af11cef8df6ad050fb8cc7094170ec7a8384 |
25 |
|
26 |
diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.8.5.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.8.5.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..a1f4a660f6b |
29 |
--- /dev/null |
30 |
+++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.8.5.ebuild |
31 |
@@ -0,0 +1,46 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
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 |
+ curl? ( >=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 $(use_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 |
+} |