diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /net-misc/bfgminer/bfgminer-5.5.0.ebuild | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'net-misc/bfgminer/bfgminer-5.5.0.ebuild')
-rw-r--r-- | net-misc/bfgminer/bfgminer-5.5.0.ebuild | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/net-misc/bfgminer/bfgminer-5.5.0.ebuild b/net-misc/bfgminer/bfgminer-5.5.0.ebuild index 1ecd48c23a11..b107ddd50512 100644 --- a/net-misc/bfgminer/bfgminer-5.5.0.ebuild +++ b/net-misc/bfgminer/bfgminer-5.5.0.ebuild @@ -3,8 +3,6 @@ EAPI=6 -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" @@ -17,7 +15,7 @@ KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86" # TODO: kncasic & titan (need systemwide knc-asic install) # TODO: minergate (needs actual miner_gate) IUSE="adl alchemist avalon avalonmm bitmain bfsb bfx bifury bigpic bitforce bitfury cointerra cpumining drillbit dualminer examples gridseed hardened hashbuster hashbuster2 hashfast icarus jingtian keccak klondike +libusb littlefury lm-sensors metabank minion modminer nanofury ncurses opencl proxy proxy_getwork proxy_stratum rockminer screen scrypt +sha256d twinfury +udev udev-broad-rules unicode x6500 zeusminer ztex" -REQUIRED_USE=' +REQUIRED_USE=" || ( keccak scrypt sha256d ) || ( alchemist avalon avalonmm bitmain bfsb bfx bifury bigpic bitforce bitfury cointerra cpumining drillbit dualminer gridseed hashbuster hashbuster2 hashfast icarus klondike littlefury metabank modminer nanofury opencl proxy twinfury x6500 zeusminer ztex ) adl? ( opencl ) @@ -59,9 +57,9 @@ REQUIRED_USE=' x6500? ( sha256d libusb ) zeusminer? ( scrypt icarus ) ztex? ( sha256d libusb ) -' +" -DEPEND=' +DEPEND=" net-misc/curl ncurses? ( sys-libs/ncurses:=[unicode?] @@ -97,7 +95,7 @@ DEPEND=' app-misc/realpath ) ) -' +" RDEPEND="${DEPEND} opencl? ( || ( @@ -131,12 +129,12 @@ src_configure() { if use ncurses; then if use unicode; then - with_curses='--with-curses=ncursesw' + with_curses="--with-curses=ncursesw" else - with_curses='--with-curses=ncurses' + with_curses="--with-curses=ncurses" fi else - with_curses='--without-curses' + with_curses="--without-curses" fi CFLAGS="${CFLAGS}" \ @@ -175,7 +173,7 @@ src_configure() { $(use_enable sha256d) \ $(use_enable twinfury) \ --with-system-libblkmaker \ - $with_curses \ + ${with_curses} \ $(use_with udev libudev) \ $(use_enable udev-broad-rules broad-udevrules) \ $(use_with lm-sensors sensors) \ @@ -187,11 +185,12 @@ src_configure() { } src_install() { - emake install DESTDIR="$D" + emake install DESTDIR="${D}" + if ! use examples; then - rm -r "${D}/usr/share/doc/${PF}/rpc-examples" + rm -r "${ED}/usr/share/doc/${PF}/rpc-examples" fi if ! use screen; then - rm "${D}/usr/bin/start-bfgminer.sh" + rm "${ED}/usr/bin/start-bfgminer.sh" fi } |