summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2020-02-23 21:46:12 -0500
committerCraig Andrews <candrews@gentoo.org>2020-02-23 21:46:12 -0500
commit8de6f4458944e332855e757fa19e4194f6beb678 (patch)
tree48c8bc1c6de8edd188d75745ffc69f5a3c405562 /net-p2p
parentmedia-plugins/kodi-pvr-stalker: Remove kodi-platform, add libplatform (diff)
downloadgentoo-8de6f4458944e332855e757fa19e4194f6beb678.tar.gz
gentoo-8de6f4458944e332855e757fa19e4194f6beb678.tar.bz2
gentoo-8de6f4458944e332855e757fa19e4194f6beb678.zip
net-p2p/cpuminer-opt: 3.12.4.2 version bump
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/cpuminer-opt/Manifest1
-rw-r--r--net-p2p/cpuminer-opt/cpuminer-opt-3.12.4.2.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest
index 846c36980d7d..b19441549fd0 100644
--- a/net-p2p/cpuminer-opt/Manifest
+++ b/net-p2p/cpuminer-opt/Manifest
@@ -3,3 +3,4 @@ DIST cpuminer-opt-3.12.13.tar.gz 1809807 BLAKE2B c971153fc1099dc29ae93ab341e905b
DIST cpuminer-opt-3.12.2.tar.gz 1809424 BLAKE2B fedec681166de95e18d41e4c61ec75a9e1ea1fc1cdb656cebcb303a637a01eb3aba9e0c5cbb5cc710be6a2191dcbef0b1a2c00f0ce349064b25471eac5035c26 SHA512 f8a9c71d673f68418164cc1f0bd7c80b4e5d246b21a8f54432ad9fc87c1962a0ab0a96372018e2d1da55d084b6ce9dcae58dd3f7a0b0e62e595a805fefdb5a10
DIST cpuminer-opt-3.12.3.1.tar.gz 1809916 BLAKE2B 5ee9f9b1bdcadf9a069fbf46cdad26331504147118b4d79c281ef8322eb3901920b89548afe4b032982668b454db58e658bbb952031fb2f5f764e7e013be006e SHA512 0e6069e7d85b6f2632da919f79183e15dc89ac8ac6c9524a59459bd0c8c4c02fd9b6669434c7f17475f713075763f8a7b939f955866ba4a0b2b1764758096635
DIST cpuminer-opt-3.12.4.1.tar.gz 1811274 BLAKE2B 9c54bb71d62924ad80eb484ecbdd282b27b022bcbfe37c2ca95dfccbde335f77bf0e28215f77eb381c8866fd7d164b409f48404e2fc7bd09478feb26b0d2ed7f SHA512 2ba603d52d45caeab8cfc8f03c127709791fb058a549af7abb69a62023e5ecc7e51ae670afa600b1563b33dabb50931a090d4d6574fa555b1a892a86d097150f
+DIST cpuminer-opt-3.12.4.2.tar.gz 1811456 BLAKE2B a19dfa37b726020f3143bd0a11fba52aae0eaea5295e8fc568815a12ade1e5c55d560ac964316f4ed3f272873ce1a393f581dc6143504eeadeb302ba83f3c017 SHA512 97222820c321cb34748a9e0550d7b1ded3d0d3980b7855d72cd0eabf5f6a03e121552e62ee52389bf0d5182c54f226b61f0549e787fdc0b0351d2fffa7a7e7c2
diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.12.4.2.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.12.4.2.ebuild
new file mode 100644
index 000000000000..a5d436b3b8b8
--- /dev/null
+++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.12.4.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic systemd
+
+DESCRIPTION="Optimized multi algo CPU miner"
+HOMEPAGE="https://github.com/JayDDee/cpuminer-opt"
+IUSE="cpu_flags_x86_sse2 curl libressl"
+LICENSE="GPL-2"
+SLOT="0"
+REQUIRED_USE="cpu_flags_x86_sse2"
+DEPEND="
+ dev-libs/gmp:0
+ dev-libs/jansson
+ >=net-misc/curl-7.15[ssl]
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+"
+RDEPEND="${DEPEND}"
+if [[ ${PV} == "9999" ]] ; then
+ SRC_URI=""
+ EGIT_REPO_URI="https://github.com/JayDDee/${PN}.git"
+ inherit git-r3
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/JayDDee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ append-ldflags -Wl,-z,noexecstack
+ econf --with-crypto --with-curl
+}
+
+src_install() {
+ default
+ systemd_dounit "${FILESDIR}"/${PN}.service
+ insinto "/etc/${PN}"
+ doins cpuminer-conf.json
+}
+
+src_test() {
+ ./cpuminer --cputest || die
+}