1 |
commit: d1e32f4d62d0b72a2e68e8fdbc55f2c6099f3aa8 |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 6 14:27:31 2018 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 6 14:29:09 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e32f4d |
7 |
|
8 |
net-p2p/cpuminer-opt: 3.8.0.1 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.0.1.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 f52f7217974..c8bb0f3c553 100644 |
18 |
--- a/net-p2p/cpuminer-opt/Manifest |
19 |
+++ b/net-p2p/cpuminer-opt/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST cpuminer-opt-3.7.10.tar.gz 1629412 BLAKE2B 7ac3144345aad4b7616a5293092452b4206c820ae4d316ca8a5ed6f0303a10fec0d231eeb5d5064fea032ace2110425cd6127f1735a14a9d551100438ad6baeb SHA512 9845e09ffd9f4c0c27a0ead1d12578b9f29cdb9377cca14b06f762e3885c5cfb401344406312737b18b656535079e59ed214b5035e2f67bba6e2cb2f644aa62b |
22 |
DIST cpuminer-opt-3.7.9.tar.gz 1623402 BLAKE2B f9e225989bf1f2dd249de1ed43e7e1532c8e825f6fb25e54020a0f4382ab156a9fd7463e82510a90c5c6f71b8a9749c94cc4acc01d05b6f189766099a5772fec SHA512 17457900cad97b57d92160aba8d22256a39660dc29afbcd5be35b3e9c9045f81cd43332c7890cbde44427345eff61a6a1346ce31620e281160b5acaf729863d3 |
23 |
+DIST cpuminer-opt-3.8.0.1.tar.gz 1656058 BLAKE2B 685e5a7813f32e276a1cdd179c5d518c670e323b185270cce7368aa2f2c7b80a77076280d8604609d184e9e94776067050e65b722b20f1efdd5a4c3caba397c3 SHA512 0b7de89d37334c0c9867b65362c8664547a5b1f840446c071259cdd00848e9aab9ea3c160665a5d72efe9f50322f3c2e45f01035671b8eb4f341cb53abdd8452 |
24 |
DIST cpuminer-opt-3.8.0.tar.gz 1656474 BLAKE2B 145126762aeb245d042c1a208b60fd4727b450b77ab2585043b13b82b61b947dea0db2489de08e619dcd54b8eb1ec429f83f21ce1e49c34e140f585eccdd14f0 SHA512 c610d58236c5d84a850e68e172d3fdfede5b86aefa8ff09890ffc43d47efd4754aeb345f6b5fd48b6afcbc771541418f6fde1c9e621ad89c17d2dad4c16151f9 |
25 |
|
26 |
diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.8.0.1.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.8.0.1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..a1f4a660f6b |
29 |
--- /dev/null |
30 |
+++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.8.0.1.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 |
+} |