diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-08-03 21:28:13 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-08-03 21:28:13 +0000 |
commit | 21ebe1479d565ec2fffdf24909de08710cc68c8d (patch) | |
tree | cb6252373484b16be641e37560f75dc2684e8d56 | |
parent | Missed merging a test. (diff) | |
download | gentoo-2-21ebe1479d565ec2fffdf24909de08710cc68c8d.tar.gz gentoo-2-21ebe1479d565ec2fffdf24909de08710cc68c8d.tar.bz2 gentoo-2-21ebe1479d565ec2fffdf24909de08710cc68c8d.zip |
Version bump
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
-rw-r--r-- | net-misc/bfgminer/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/bfgminer/bfgminer-4.6.0.ebuild | 178 | ||||
-rw-r--r-- | net-misc/bfgminer/metadata.xml | 3 |
3 files changed, 187 insertions, 2 deletions
diff --git a/net-misc/bfgminer/ChangeLog b/net-misc/bfgminer/ChangeLog index 880bc4763b9a..78dba313bf1f 100644 --- a/net-misc/bfgminer/ChangeLog +++ b/net-misc/bfgminer/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/bfgminer # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.67 2014/07/27 12:12:59 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.68 2014/08/03 21:28:13 blueness Exp $ + +*bfgminer-4.6.0 (03 Aug 2014) + + 03 Aug 2014; Anthony G. Basile <blueness@gentoo.org> +bfgminer-4.6.0.ebuild, + metadata.xml: + Version bump *bfgminer-3.10.6 (27 Jul 2014) *bfgminer-4.5.0 (27 Jul 2014) diff --git a/net-misc/bfgminer/bfgminer-4.6.0.ebuild b/net-misc/bfgminer/bfgminer-4.6.0.ebuild new file mode 100644 index 000000000000..df66f8f75fdc --- /dev/null +++ b/net-misc/bfgminer/bfgminer-4.6.0.ebuild @@ -0,0 +1,178 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-4.6.0.ebuild,v 1.1 2014/08/03 21:28:13 blueness Exp $ + +EAPI=5 + +inherit eutils + +DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" +HOMEPAGE="https://bitcointalk.org/?topic=168174" +SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.txz -> ${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" + +# TODO: knc (needs i2c-tools header) +IUSE="adl antminer avalon avalonmm bfx bifury bitforce bfsb bigpic bitfury cpumining drillbit dualminer examples gridseed hardened hashbuster hashbuster2 hashfast icarus jingtian klondike +libusb littlefury lm_sensors metabank modminer nanofury ncurses opencl proxy proxy_getwork proxy_stratum rockminer screen scrypt twinfury +udev udev-broad-rules unicode x6500 zeusminer ztex" +REQUIRED_USE=' + || ( antminer avalon avalonmm bfsb bfx bifury bigpic bitforce bitfury cpumining drillbit dualminer gridseed hashbuster hashbuster2 hashfast icarus klondike littlefury metabank modminer nanofury opencl proxy twinfury x6500 zeusminer ztex ) + adl? ( opencl ) + bfsb? ( bitfury ) + bfx? ( bitfury libusb ) + bigpic? ( bitfury ) + drillbit? ( bitfury ) + dualminer? ( icarus ) + gridseed? ( scrypt ) + hashbuster? ( bitfury ) + hashbuster2? ( bitfury libusb ) + klondike? ( libusb ) + littlefury? ( bitfury ) + lm_sensors? ( opencl ) + metabank? ( bitfury ) + nanofury? ( bitfury ) + scrypt? ( || ( cpumining dualminer gridseed opencl zeusminer ) ) + twinfury? ( bitfury ) + unicode? ( ncurses ) + proxy? ( || ( proxy_getwork proxy_stratum ) ) + proxy_getwork? ( proxy ) + proxy_stratum? ( proxy ) + x6500? ( libusb ) + zeusminer? ( scrypt ) + ztex? ( libusb ) +' + +DEPEND=' + net-misc/curl + ncurses? ( + sys-libs/ncurses[unicode?] + ) + >=dev-libs/jansson-2 + net-libs/libblkmaker + udev? ( + virtual/udev + ) + hashbuster? ( + dev-libs/hidapi + ) + libusb? ( + virtual/libusb:1 + ) + lm_sensors? ( + sys-apps/lm_sensors + ) + nanofury? ( + dev-libs/hidapi + ) + proxy_getwork? ( + net-libs/libmicrohttpd + ) + proxy_stratum? ( + dev-libs/libevent + ) + screen? ( + app-misc/screen + || ( + >=sys-apps/coreutils-8.15 + sys-freebsd/freebsd-bin + app-misc/realpath + ) + ) +' +RDEPEND="${DEPEND} + opencl? ( + || ( + virtual/opencl + virtual/opencl-sdk + dev-util/ati-stream-sdk + dev-util/ati-stream-sdk-bin + dev-util/amdstream + dev-util/amd-app-sdk + dev-util/amd-app-sdk-bin + dev-util/nvidia-cuda-sdk[opencl] + dev-util/intel-opencl-sdk + ) + ) +" +DEPEND="${DEPEND} + virtual/pkgconfig + >=dev-libs/uthash-1.9.7 + sys-apps/sed + cpumining? ( + amd64? ( + >=dev-lang/yasm-1.0.1 + ) + x86? ( + >=dev-lang/yasm-1.0.1 + ) + ) +" + +src_configure() { + local CFLAGS="${CFLAGS}" + local with_curses + use hardened && CFLAGS="${CFLAGS} -nopie" + + if use ncurses; then + if use unicode; then + with_curses='--with-curses=ncursesw' + else + with_curses='--with-curses=ncurses' + fi + else + with_curses='--without-curses' + fi + + CFLAGS="${CFLAGS}" \ + econf \ + --docdir="/usr/share/doc/${PF}" \ + $(use_enable adl) \ + $(use_enable antminer) \ + $(use_enable avalon) \ + $(use_enable avalonmm) \ + $(use_enable bifury) \ + $(use_enable bitforce) \ + $(use_enable bfsb) \ + $(use_enable bfx) \ + $(use_enable bigpic) \ + $(use_enable bitfury) \ + $(use_enable cpumining) \ + $(use_enable drillbit) \ + $(use_enable dualminer) \ + $(use_enable gridseed) \ + $(use_enable hashbuster) \ + $(use_enable hashbuster2 hashbusterusb) \ + $(use_enable hashfast) \ + $(use_enable icarus) \ + $(use_enable jingtian) \ + $(use_enable klondike) \ + $(use_enable littlefury) \ + $(use_enable metabank) \ + $(use_enable modminer) \ + $(use_enable nanofury) \ + $(use_enable opencl) \ + $(use_enable rockminer) \ + $(use_enable scrypt) \ + $(use_enable twinfury) \ + --with-system-libblkmaker \ + $with_curses \ + $(use_with udev libudev) \ + $(use_enable udev-broad-rules broad-udevrules) \ + $(use_with lm_sensors sensors) \ + $(use_with proxy_getwork libmicrohttpd) \ + $(use_with proxy_stratum libevent) \ + $(use_enable x6500) \ + $(use_enable zeusminer) \ + $(use_enable ztex) +} + +src_install() { + emake install DESTDIR="$D" + if ! use examples; then + rm -r "${D}/usr/share/doc/${PF}/rpc-examples" + fi + if ! use screen; then + rm "${D}/usr/bin/start-bfgminer.sh" + fi +} diff --git a/net-misc/bfgminer/metadata.xml b/net-misc/bfgminer/metadata.xml index 826b2eef84c2..1535b8be362f 100644 --- a/net-misc/bfgminer/metadata.xml +++ b/net-misc/bfgminer/metadata.xml @@ -12,7 +12,8 @@ <use> <flag name='adl'>Enable support for controlling fans and overclocking on AMD cards with AMD Display Library</flag> <flag name='antminer'>Enable support for mining with AntMiner U1 sticks</flag> - <flag name='avalon'>Enable support for mining with Avalon ASIC modules</flag> + <flag name='avalon'>Enable support for mining with Avalon 1 ASIC modules</flag> + <flag name='avalonmm'>Enable support for mining with Avalon 2/3 ASIC modules</flag> <flag name='bifury'>Enable support for mining with Bi*fury USB sticks</flag> <flag name='bitforce'>Enable support for mining with ButterFly Labs BitFORCE ASICs and/or FPGAs</flag> <flag name='bfsb'>Enable support for mining on BFSB host Raspberry Pi</flag> |