Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/cpuminer-opt/
Date: Fri, 31 May 2019 20:50:55
Message-Id: 1559335844.7bcfa1ff38797d42ad6da54856ce8c5a96969844.candrews@gentoo
1 commit: 7bcfa1ff38797d42ad6da54856ce8c5a96969844
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 31 20:48:58 2019 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Fri May 31 20:50:44 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bcfa1ff
7
8 net-p2p/cpuminer-opt: 3.9.1.1 version bump
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.13
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.1.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 9b9f797315c..95bc7eae549 100644
19 --- a/net-p2p/cpuminer-opt/Manifest
20 +++ b/net-p2p/cpuminer-opt/Manifest
21 @@ -1,4 +1,5 @@
22 DIST cpuminer-opt-3.8.8.1.tar.gz 1709515 BLAKE2B cecf9f57093fd89cef459cdc0d591a5de4bb12126a931dd9bfee0fc9b08a7ec4b5bb087ad383f14492b3da3066bac695f0022e1dfc595c7e331c9517b4b44db6 SHA512 5dd254237231abb84312c31be97952d1e1f1cd6c4fa0efc409581afb1a28d9783816b9efdb07501d67b99b831bce0a290e5cc2b3ce6c915a3e76b00edd582560
23 DIST cpuminer-opt-3.9.0.1.tar.gz 1744675 BLAKE2B e1dff3bafd1c60bd67dbeca6acad4ee48a00bf0d77512686ac5b2bd9f375eee4a6e9b32c891f195bb98c4a48ac0f52a6da91bc51e28017dd811bf975d8c0550f SHA512 f807f9f7416983363116a07b12a191227907e26a658f6cd00f5556292785c27f6b56df9998a06bc1e44769bd549a5be75acd6986d446dd885b8b49763fde1731
24 DIST cpuminer-opt-3.9.0.tar.gz 1744113 BLAKE2B 0fef9ead2218284032d70df4d823f43896a72a06c91612b3a9981a89bb51c890d3fe54707af80d2ebe3ceb513ef98c3e7b036b9ec0a9767ff5b969bed2a26318 SHA512 beb3faf8f2b765f7f995274e247b59590c3cebf2f6d46ce39abac8ecec322cabfc4b2acc087686f9c701c2c32d96b5d1f95d34413ec70c727b58f67054fc2603
25 +DIST cpuminer-opt-3.9.1.1.tar.gz 1771289 BLAKE2B c3a0cdb6793d1590bca11fac736d2d9e0bc200a391f2f440f7e005e6d61c90c331bc856055a1cf207a5abed934caa421e6d291372e293467ad2738039f491f96 SHA512 fdbbc60f433ae810522ca22b1709ee2052de90631cd68d5581fa2297ad549093bc64b0f4ec6900986ec56e16b84ead111f8d8a796b7e654c675b0585990e266d
26 DIST cpuminer-opt-3.9.1.tar.gz 1770345 BLAKE2B c2ef3111f1c1f034d2e4d4148031cf4fa099484e4bc54e8266323bdff26cbd90a390bb4bc0e77b095227bb3c0026a1b6d791bebb5345e74462650fe4be0e688d SHA512 ca83b2b325947591e77b8edd7f920043d3422259e9e60a7549066d1290c60b7b108dd91c4f8731e8ffb3932d2d430a0b0f02e6b384b03a939e32c6dd4329732b
27
28 diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.9.1.1.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.9.1.1.ebuild
29 new file mode 100644
30 index 00000000000..666d27ee1c0
31 --- /dev/null
32 +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.9.1.1.ebuild
33 @@ -0,0 +1,50 @@
34 +# Copyright 1999-2019 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit autotools flag-o-matic systemd
40 +
41 +DESCRIPTION="Optimized multi algo CPU miner"
42 +HOMEPAGE="https://github.com/JayDDee/cpuminer-opt"
43 +IUSE="cpu_flags_x86_sse2 curl libressl"
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +REQUIRED_USE="cpu_flags_x86_sse2"
47 +DEPEND="
48 + dev-libs/gmp:0
49 + dev-libs/jansson
50 + >=net-misc/curl-7.15[ssl]
51 + !libressl? ( dev-libs/openssl:0= )
52 + libressl? ( dev-libs/libressl:0= )
53 +"
54 +RDEPEND="${DEPEND}"
55 +if [[ ${PV} == "9999" ]] ; then
56 + SRC_URI=""
57 + EGIT_REPO_URI="https://github.com/JayDDee/${PN}.git"
58 + inherit git-r3
59 +else
60 + KEYWORDS="~amd64"
61 + SRC_URI="https://github.com/JayDDee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
62 +fi
63 +
64 +src_prepare() {
65 + default
66 + eautoreconf
67 +}
68 +
69 +src_configure() {
70 + append-ldflags -Wl,-z,noexecstack
71 + econf --with-crypto --with-curl
72 +}
73 +
74 +src_install() {
75 + default
76 + systemd_dounit "${FILESDIR}"/${PN}.service
77 + insinto "/etc/${PN}"
78 + doins cpuminer-conf.json
79 +}
80 +
81 +src_test() {
82 + ./cpuminer --cputest || die
83 +}