Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37408184
en ru br
ALT Linux repos
S:2.10.8-alt2

Group :: Office
RPM: xmr-stak

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: xmr-stak
Version: 2.10.8
Release: alt2
Summary: XMR-Stak - Cryptonight Mining Software
Url: https://github.com/fireice-uk/xmr-stak
Group: Office
License: GPLv3
Source0: %name.tar.xz
Patch0: %name-libmicrohttpd.patch

ExclusiveArch: x86_64

BuildRequires: cmake gcc-c++ libhwloc-devel libmicrohttpd-devel libssl-devel-static

Provides: %name-cpu
Obsoletes: %name-cpu

%description
XMR-Stak is a universal Stratum pool miner. This miner supports CPUs, AMD and NVIDIA gpus
(GPU not supported in ALT Linux) and can be used to mine the crypto currencys Monero, Aeon
and many more Cryptonight coins.

%prep
%setup -n %name
%patch0 -p2

%build
subst 's|2.0|0.1|g' ./xmrstak/donate-level.hpp
mkdir ./build && cd ./build
cmake ../. \
-DCMAKE_BUILD_TYPE=STATIC \
-DCMAKE_CXX_FLAGS:STRING="%optflags" \
-DCMAKE_C_FLAGS:STRING="%optflags" \
-DCUDA_ENABLE=OFF \
-DOpenCL_ENABLE=OFF
%make_build

%install
cd ./build
install -Dp -m 0755 ./bin/%name %buildroot%_bindir/%name

%files
%doc doc/{FAQ.md,pgp_keys.md,tuning.md,usage.md}
%_bindir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin