1 |
commit: 08fb0366a92a1037b0ec67aa6eab5b2befc98550 |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 26 04:00:53 2018 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 26 04:00:53 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08fb0366 |
7 |
|
8 |
net-p2p/cpuminer-opt: 3.8.3.3 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.3.3.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 51482a022be..1ba103b47ee 100644 |
18 |
--- a/net-p2p/cpuminer-opt/Manifest |
19 |
+++ b/net-p2p/cpuminer-opt/Manifest |
20 |
@@ -4,3 +4,4 @@ DIST cpuminer-opt-3.8.1.1.tar.gz 1657624 BLAKE2B d408d3da10ea6c0d91d0aa7097e52fb |
21 |
DIST cpuminer-opt-3.8.1.tar.gz 1654969 BLAKE2B b8805e748b71d3c7049d5c97dd74a51da55f88c697963c938a372ff5ff0ac72fcabce81b86f373fdca2dcef7393bba3f53c049bc30dfbd02691ff5e9630cf5bc SHA512 800edbecf5edb0902adc54480a4984602c19087d55675212832ce24df109b7d66544d9db78112a04c3c374521737e2680013d354b6ff8195a17abeb213e2a556 |
22 |
DIST cpuminer-opt-3.8.2.1.tar.gz 1668854 BLAKE2B d05238c27bb2fdc806937fde0db8fad81ad07a8f3a19414cf338a5262f112a2b6378657b7c901c41a8461f3ce62662da2758941eecb04f7efad809ffeb9403a3 SHA512 2ff1ac4923c90ebd59a1336cf0114be67571c8eb3d526467546c22a2a291778d77ef842fc814cdf88c589643faaad87dada95cc718680ffba91a19e7f53f1178 |
23 |
DIST cpuminer-opt-3.8.3.2.tar.gz 1675230 BLAKE2B a0176c1152c695c1fde4f06911407b1aaf88fec8d275c64d2f117606ec82b26deda862a95ff1d866fcd7eece908be9ee1c5bb27d354e80665ab172d3d394dafc SHA512 610ce2bf8702882985d45d2db1cfa0655dcece47116908c2cd59489df1aa2a1f0b03c89af1a2cfa1ab0425e340b8e0b70c4f33b1399c414d90cabfc4f37bed3c |
24 |
+DIST cpuminer-opt-3.8.3.3.tar.gz 1676500 BLAKE2B 7b3415f812c685b6054d4cb7236b681466fa6440c707e461c0fe03e4091906770bbe0851c4cb49d0fe1b99e11a8510f4462c2d8f05373aaa873a12fa7326a247 SHA512 6706930e2a317d54a349a6a5b71cbf4a3a7fb7ff1759376f35884aa21ef947635817c0f17fe82c53685bc652423245fdc25decf9ee23016bf86da47caacc161a |
25 |
|
26 |
diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.8.3.3.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.8.3.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..a1f4a660f6b |
29 |
--- /dev/null |
30 |
+++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.8.3.3.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 |
+} |