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 | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'net-misc/bfgminer')
-rw-r--r-- | net-misc/bfgminer/Manifest | 2 | ||||
-rw-r--r-- | net-misc/bfgminer/bfgminer-5.5.0.ebuild | 25 |
2 files changed, 13 insertions, 14 deletions
diff --git a/net-misc/bfgminer/Manifest b/net-misc/bfgminer/Manifest index 2d58ae642aef..e94b92cef625 100644 --- a/net-misc/bfgminer/Manifest +++ b/net-misc/bfgminer/Manifest @@ -1,4 +1,4 @@ AUX bfgminer-5.5.0-fno-common.patch 2746 BLAKE2B 6954f9016289a6e0f4f5fb68e3c08013f3ad422f6d1710709df3103bb03551d40926d0e4469cf91fcdbe5c6064b9d66bf47309c014a662ef5778a2b5bb301bec SHA512 f59ff668c8deb63e6276129be6e88ad2a347994f3de2a6389e353f61ef677fb73be6f45b090d40cc3546f8456ae291a60bce8645e85f5e39d1d7eed531c5db82 DIST bfgminer-5.5.0.tar.xz 1054664 BLAKE2B db841a73bca10b19205744be531c13f2c4435bd69c9f2af7b8aba84381af640028cc4db33df399cf05dd0bbec7b79a5b65679bcb2a8bec7624f6fbc47e9ebd79 SHA512 d1adae473e01fcf1cd0efde74d3e8ce10609e520397d688bf4e226c1113c1606c782e3cfdba6847f1a3886cac30de6b5baa03b731aca86287d53bf01ef705cdb -EBUILD bfgminer-5.5.0.ebuild 5168 BLAKE2B ab41b6d6c181cce98314d227ca389d3e3d05e65b93dee4704b8cd975aec4b8ab79990c418be2bda61912de22cc612833ce0d811e16817890e59144e292782b1e SHA512 420efee89dbc369305a111c28562180008096868c3e46a30618c27978f39d247dce3e253ef14c3a4c61259380df8f19f06e426926b473badef70bef0302b7915 +EBUILD bfgminer-5.5.0.ebuild 5159 BLAKE2B 4b4fd431fcb2eb561702b1489a5057b8c3d31c34d50defe990c6fd7fd33059ba1949398e09b918a21ee91ade3820d6aa2e5755df7f2fc2c7fad861a85bcb2c29 SHA512 3b05464321158422f46e84b0332e23b460dab13a856cbd2b71b5752de291144ebc8b5a37890928c8855bda3de88f624bb0cf11f67fac1224e562b1e9bb866fe1 MISC metadata.xml 3962 BLAKE2B 70c28b8c2c68996fb2d3bd7f134feb618776adf3a3e8b2e080dc00c813f072c80519909149bcd5bba17904d044fd49773dffca06880f07446d39240c87bf2574 SHA512 e4fa5e82269099a6d1681c22d3b9d31e8e73bef8b0555dee227c69008b40efc191819e61f4e61a3c7d516563627c910d5c473dd7413e94451d61c21aa64eba20 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 } |