1 |
commit: 9d29d38ca3626134cbc2aeb4183a9b556f841c21 |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 1 19:28:11 2019 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 1 19:28:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d29d38c |
7 |
|
8 |
net-p2p/cpuminer-opt: 3.9.8.1 version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
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.9.8.1.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 8ae8a99f315..a0f74d703c0 100644 |
19 |
--- a/net-p2p/cpuminer-opt/Manifest |
20 |
+++ b/net-p2p/cpuminer-opt/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST cpuminer-opt-3.9.6.2.tar.gz 1796238 BLAKE2B 5c9ef9e04897ac8e62196bb54606b407ae5df7f48074f91c202a7323f9ebfa5c44361df99ed83f9c67e69080580c9bf1e29607b491c872a2f1385c8c42444940 SHA512 92e96724fc40d974cd80d61c19c7d46b6581ec0e63328bf940cade12231240fa17f26639a6c344cf19c20ea6e6f7dc4178dea7db51a4c7ec85a66ab5e4a5e59d |
23 |
DIST cpuminer-opt-3.9.7.tar.gz 1797055 BLAKE2B 33f978139a04e5bedd76bf37f20d55e1a910e38bb877adf611b9a3b5a9c83193bde6adf5a93562a57e5b12c5e05b59824709714143b9df9abffb751f20e9543d SHA512 a696847b9c7283e1a05cfae2785311e82a1b84496ca1da2b30bb960d3fcc37991f9ab866b8e32125f66718d89b2b8ac3e680b53da2ec68deff910745603ce6d7 |
24 |
+DIST cpuminer-opt-3.9.8.1.tar.gz 1792320 BLAKE2B 2e53e40bebeff44e8197f9a2d8e95e75020739ac8797b7826f7e056d94dc85d4f43994a520abeec5fad8be0c4ef20c2667e1860873810a33026a33dc328fe094 SHA512 42ae191c29c53cc837b8532a1aa00dab19392f48c5e69dced09392d83bb3f949c156db9172fbd765c0ebca6b8fdc48346f4b0b5504ca1c5dd69718ee9c832997 |
25 |
DIST cpuminer-opt-3.9.8.tar.gz 1792693 BLAKE2B e08866a17e29491430ef2896b79336a78b8fd74696812c406be9454c59ec07c5d65237714375888a06d15cceaaf8465658004f73d0371f0e95f7954fae2c22fe SHA512 af50d7cbc4890697cc006887053d7fe7ec516dc13709bdb61c77ba1322fa7c6ce0c942ea9fc1881ce9ae43524b20f7182d574e546ef4e0fc479a0827658329af |
26 |
|
27 |
diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.9.8.1.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.9.8.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..666d27ee1c0 |
30 |
--- /dev/null |
31 |
+++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.9.8.1.ebuild |
32 |
@@ -0,0 +1,50 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit autotools flag-o-matic systemd |
39 |
+ |
40 |
+DESCRIPTION="Optimized multi algo CPU miner" |
41 |
+HOMEPAGE="https://github.com/JayDDee/cpuminer-opt" |
42 |
+IUSE="cpu_flags_x86_sse2 curl libressl" |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+REQUIRED_USE="cpu_flags_x86_sse2" |
46 |
+DEPEND=" |
47 |
+ dev-libs/gmp:0 |
48 |
+ dev-libs/jansson |
49 |
+ >=net-misc/curl-7.15[ssl] |
50 |
+ !libressl? ( dev-libs/openssl:0= ) |
51 |
+ libressl? ( dev-libs/libressl:0= ) |
52 |
+" |
53 |
+RDEPEND="${DEPEND}" |
54 |
+if [[ ${PV} == "9999" ]] ; then |
55 |
+ SRC_URI="" |
56 |
+ EGIT_REPO_URI="https://github.com/JayDDee/${PN}.git" |
57 |
+ inherit git-r3 |
58 |
+else |
59 |
+ KEYWORDS="~amd64" |
60 |
+ SRC_URI="https://github.com/JayDDee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
61 |
+fi |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ default |
65 |
+ eautoreconf |
66 |
+} |
67 |
+ |
68 |
+src_configure() { |
69 |
+ append-ldflags -Wl,-z,noexecstack |
70 |
+ econf --with-crypto --with-curl |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ default |
75 |
+ systemd_dounit "${FILESDIR}"/${PN}.service |
76 |
+ insinto "/etc/${PN}" |
77 |
+ doins cpuminer-conf.json |
78 |
+} |
79 |
+ |
80 |
+src_test() { |
81 |
+ ./cpuminer --cputest || die |
82 |
+} |