New package: cgminer-2.9.3 with scrypt and OpenCL support.

This commit is contained in:
Juan RP 2012-11-14 17:04:45 +01:00
parent 1058007443
commit 6b999ada82
4 changed files with 40 additions and 0 deletions

View File

@ -1107,3 +1107,4 @@ libwayland-server.so.0 wayland-1.0.0_1
libwayland-client.so.0 wayland-1.0.0_1
libwayland-cursor.so.0 wayland-1.0.0_1
libtomcrypt.so.0 libtomcrypt-1.117_1
libOpenCL.so.1 libOpenCL-1.0_1

View File

@ -0,0 +1,6 @@
libpthread.so.0
libcurl.so.4
libm.so.6
libncursesw.so.6
libc.so.6
libOpenCL.so.1

View File

@ -0,0 +1,8 @@
[Unit]
Description=Multi-threaded multi-pool CPU and GPU miner for bitcoin
[Service]
ExecStart=/usr/bin/cgminer -T --config /etc/cgminer.conf
[Install]
WantedBy=multi-user.target

25
srcpkgs/cgminer/template Normal file
View File

@ -0,0 +1,25 @@
# Template file for 'cgminer'
pkgname=cgminer
version=2.9.3
revision=1
build_style=gnu-configure
conf_files="/etc/cgminer.conf"
configure_args="--enable-cpumining --enable-scrypt"
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"
checksum=48a3d3fab8deed8b9c877b36b0bebac8a6fb5c4dc4f9afe1d8c7ef3a12924642
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
}