2012-11-14 16:04:45 +00:00
|
|
|
# Template file for 'cgminer'
|
|
|
|
pkgname=cgminer
|
2013-01-03 09:10:46 +00:00
|
|
|
version=2.10.4
|
2012-11-14 16:04:45 +00:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
conf_files="/etc/cgminer.conf"
|
2012-12-10 13:50:49 +00:00
|
|
|
configure_args="--disable-adl --enable-cpumining --enable-scrypt"
|
2012-11-14 16:04:45 +00: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"
|
2012-12-21 07:25:48 +00:00
|
|
|
homepage="https://github.com/ckolivas/cgminer"
|
2012-11-14 16:04:45 +00:00
|
|
|
distfiles="http://ck.kolivas.org/apps/cgminer/cgminer-${version}.tar.bz2"
|
2013-01-03 09:10:46 +00:00
|
|
|
checksum=ae80c863498b8cfa87cc0dc38c525d005df82b569e2a4a050802914ee01a1b3f
|
2012-11-14 16:04:45 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|