2012-11-14 17:04:45 +01:00
|
|
|
# Template file for 'cgminer'
|
|
|
|
pkgname=cgminer
|
2012-12-10 14:50:49 +01:00
|
|
|
version=2.10.0
|
2012-11-14 17:04:45 +01:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
conf_files="/etc/cgminer.conf"
|
2012-12-10 14:50:49 +01:00
|
|
|
configure_args="--disable-adl --enable-cpumining --enable-scrypt"
|
2012-11-14 17:04:45 +01:00
|
|
|
makedepends="pkg-config yasm libcurl-devel opencl-headers libudev-devel
|
|
|
|
ncurses-devel nvidia-opencl"
|
|
|
|
short_desc="Multi-threaded multi-pool CPU and GPU miner for bitcoin"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://www.gnu.org/software/sed"
|
|
|
|
distfiles="http://ck.kolivas.org/apps/cgminer/cgminer-${version}.tar.bz2"
|
2012-12-10 14:50:49 +01:00
|
|
|
checksum=83e590cfe32440d1ed631e5c0ebb6077d1935da0ddbd624e643fb230ca945985
|
2012-11-14 17:04:45 +01:00
|
|
|
long_desc="
|
|
|
|
This is a multi-threaded multi-pool GPU, FPGA and CPU miner with ATI GPU
|
|
|
|
monitoring, (over)clocking and fanspeed support for bitcoin and derivative
|
|
|
|
coins. Do not use on multiple block chains at the same time!"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall example.conf 644 etc cgminer.conf
|
|
|
|
sed -i -e 's#/usr/local/bin#/usr/bin#g' ${DESTDIR}/etc/cgminer.conf
|
|
|
|
vinstall ${FILESDIR}/cgminer.service 644 usr/lib/systemd/system
|
|
|
|
}
|