diff options
author | Craig Andrews <candrews@gentoo.org> | 2019-06-13 11:55:06 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2019-06-13 11:56:43 -0400 |
commit | 46485e4962b273f35c6a3035ca405404366a8ecc (patch) | |
tree | 20f06e67ae8527e5bbd8cba02ea12d9250203ac4 /net-p2p/cpuminer-opt | |
parent | app-crypt/heimdal: remove old (diff) | |
download | gentoo-46485e4962b273f35c6a3035ca405404366a8ecc.tar.gz gentoo-46485e4962b273f35c6a3035ca405404366a8ecc.tar.bz2 gentoo-46485e4962b273f35c6a3035ca405404366a8ecc.zip |
net-p2p/cpuminer-opt: 3.9.2.5 version bump
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-p2p/cpuminer-opt')
-rw-r--r-- | net-p2p/cpuminer-opt/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/cpuminer-opt/cpuminer-opt-3.9.2.5.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/net-p2p/cpuminer-opt/Manifest b/net-p2p/cpuminer-opt/Manifest index 7b0af83fdb40..3500e66b1bea 100644 --- a/net-p2p/cpuminer-opt/Manifest +++ b/net-p2p/cpuminer-opt/Manifest @@ -6,4 +6,5 @@ DIST cpuminer-opt-3.9.1.tar.gz 1770345 BLAKE2B c2ef3111f1c1f034d2e4d4148031cf4fa DIST cpuminer-opt-3.9.2.2.tar.gz 1774934 BLAKE2B 2a686a9b50978ff6a3947c1086fedda9bd608575f639670680a3e5fc6e8758bdd8478037b1474f456e33783a37a5d51b0557714d715e9840c6f3f33a14709727 SHA512 4c6f9ac422b0fb4f1194cbca025f0a596a73462d07b6c76da3c8b5f8f8e93ac8421e6c5d318e8615806aabffe5c46c1174f51a887abb059854e434376567f770 DIST cpuminer-opt-3.9.2.3.tar.gz 1777161 BLAKE2B add68199a46ef4989bb062e52fc64ed660148a4aa9030608ae9d89fa08fea7a96d7851036289aac1c4c051c66347b860006a642cb4afcf8bc78e4b91258f62ea SHA512 d4c7dd80b8fd37387250dc8e088b6438badb388d1be9622f83e34d3590892121833b9dd5e1b609b95740f4f0b89da5bb568ab3527970dfca947cc5e1ade7df0c DIST cpuminer-opt-3.9.2.4.tar.gz 1777767 BLAKE2B 47269d66576f7920564f18244f857c1de46dd43d656c7b150ebc8a24b0302598c3efa89c01e6ae6a07d34942e71e5a8dc4af49fd35840abd560f63dc93176c58 SHA512 ec74abad31059a31b7c16b30a06b759563730c0f0cbfd5d5be84ff0dbb167c2e5b794b1531fbd8735aa87fa4a7f624cec6a496ed1f4627073f70d59366495995 +DIST cpuminer-opt-3.9.2.5.tar.gz 1781488 BLAKE2B cd79f8cc363918d6db62b1970086a5758a717ca7f7fed6d204f8e83db43b777d3d5915c3195fcc3256d79dd7d849ca5cac96c47d844ea5129a2823e96a5ca806 SHA512 3ad01cfbda9cd6ecf1e2a2f178989da2c18f6fa7add940be7176bab65b0adafdc87f0f1dec77ddfc36a939940867a58188618ba0881fc08baa0125e240501366 DIST cpuminer-opt-3.9.2.tar.gz 1770769 BLAKE2B 75413f98b522e30647c9e312e1a23ee5dd3d761780dad7617b68b20d08e123ddd256f70f1494f565abe67997bb1c5fd1401ccd21e7f5492182c7ec2619bc8e00 SHA512 ce12c867706a3caed0104859a8f2366af85497b493f8c2a8c87a45f430abb45a29c415889c8f219450ac2f4e10bd4482f6dbe9dd125e1dde98c8a25e3fdad8c8 diff --git a/net-p2p/cpuminer-opt/cpuminer-opt-3.9.2.5.ebuild b/net-p2p/cpuminer-opt/cpuminer-opt-3.9.2.5.ebuild new file mode 100644 index 000000000000..666d27ee1c02 --- /dev/null +++ b/net-p2p/cpuminer-opt/cpuminer-opt-3.9.2.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 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 +} |