Source: xmr-stak
Section: net
Priority: optional
Maintainer: Adam Cecile <acecile@le-vert.net>
Build-Depends: debhelper (>= 9), libmicrohttpd-dev, libssl-dev, cmake (>= 3.4.0~), libhwloc-dev, debhelper (>= 9.20160709) | dh-systemd,
# To tag binary package with target distribution
  lsb-release,
# https://github.com/fireice-uk/xmr-stak-nvidia/pull/10#issuecomment-290821792
# I backported an old gcc-5 release from snapshot.debian.net for Debian Jessie builds
  g++ (>= 4:5.1) | g++-5 (>= 5.1),
# CUDA toolkit wants and old GCC
# GCC 4.9 seems to be available on most Ubuntu and get be installed from Jessie on Stretch
# Newer distro using CUDA 9 or 9.1 also have gcc-6 (>= 6.4)
# Distro with CUDA 9.2 have GCC >= 7.4
 gcc-4.9 | gcc-7 (>= 7.4) | gcc-6 (>= 6.4), g++-4.9 | g++-7 (>= 7.4) | g++-6 (>= 6.4),
# To force CUDA 9 build
# nvidia-cuda-toolkit (>= 9),
 nvidia-cuda-toolkit (>= 7.5),
# OpenCL backend for AMD cards,
 ocl-icd-opencl-dev,
Standards-Version: 4.1.1
Homepage: https://github.com/fireice-uk/xmr-stak

Package: xmr-stak
Replaces: xmr-stak-cpu
Provides: xmr-stak-cpu
Conflicts: xmr-stak-cpu
Recommends: xmr-stak-cuda, xmr-stak-opencl
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, python3, adduser
Description: Monero/Aeon All-in-One Mining Software
 XMR-Stak is a universal Stratum pool miner.
 This miner supports CPUs, AMD and NVIDIA gpus and can be used to mine the
 crypto currency Monero and Aeon.
 .
 This package has dynamic configuration file generation, systemd service
 integration and has been built without donation fees.
 .
 This package contains the main miner binary, with CPU support only.

Package: xmr-stak-cuda
Architecture: any
Depends: xmr-stak (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, libcuda1
Description: Monero/Aeon All-in-One Mining Software (CUDA backend)
 XMR-Stak is a universal Stratum pool miner.
 This miner supports CPUs, AMD and NVIDIA gpus and can be used to mine the
 crypto currency Monero and Aeon.
 .
 This package has dynamic configuration file generation, systemd service
 integration and has been built without donation fees.
 .
 This package contains the CUDA backend for NVIDIA graphic cards.

Package: xmr-stak-opencl
Architecture: any
Depends: xmr-stak (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: Monero/Aeon All-in-One Mining Software (OpenCL backend)
 XMR-Stak is a universal Stratum pool miner.
 This miner supports CPUs, AMD and NVIDIA gpus and can be used to mine the
 crypto currency Monero and Aeon.
 .
 This package has dynamic configuration file generation, systemd service
 integration and has been built without donation fees.
 .
 This package contains the OpenCL backend for AMD graphic cards.
