Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/bfgminer/
Date: Fri, 09 Oct 2015 00:26:14
Message-Id: 1444350690.2a190c88ef1706512254fc44f9e7c5420d872c3d.blueness@gentoo
1 commit: 2a190c88ef1706512254fc44f9e7c5420d872c3d
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 9 00:31:30 2015 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 9 00:31:30 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a190c88
7
8 net-misc/bfgminer: clean out some older versions.
9
10 Package-Manager: portage-2.2.20.1
11
12 net-misc/bfgminer/Manifest | 6 -
13 net-misc/bfgminer/bfgminer-3.10.8.ebuild | 159 -------------------------
14 net-misc/bfgminer/bfgminer-4.10.1.ebuild | 175 ---------------------------
15 net-misc/bfgminer/bfgminer-4.10.2.ebuild | 175 ---------------------------
16 net-misc/bfgminer/bfgminer-5.0.0.ebuild | 195 -------------------------------
17 net-misc/bfgminer/bfgminer-5.1.0.ebuild | 195 -------------------------------
18 net-misc/bfgminer/bfgminer-5.2.0.ebuild | 195 -------------------------------
19 7 files changed, 1100 deletions(-)
20
21 diff --git a/net-misc/bfgminer/Manifest b/net-misc/bfgminer/Manifest
22 index a956ce6..176dd2e 100644
23 --- a/net-misc/bfgminer/Manifest
24 +++ b/net-misc/bfgminer/Manifest
25 @@ -1,10 +1,4 @@
26 DIST bfgminer-3.10.10.tbz2 1087392 SHA256 b361d6f195e4c91eb01b08f0907615029fc9bd7d58c017bc7943d0333c4ba018 SHA512 c8f6ee424dfd948f543c4ef20885f683acd9fc8925eb4cd2b4255b4b1073b5a58303f468adff2e9689df16833d4a1cdabc9f464d241d9eb1c8c5df0eae322cf0 WHIRLPOOL aabce648db6026f6a4527dafa6ed7e64b03cb9b0e5993a8a48b22c93683b78f992f0cb67c03dd2c72945bc92a42fa514a7a28a97a7e73149ddf1fd5e840c8d6a
27 DIST bfgminer-3.10.5.tbz2 1091287 SHA256 224e02979ed27f7cebe47ca7a17fa9a1ecce7680531c3995daade54cc3be2807 SHA512 500745b09ced2102cb7bfee8dbe3e44bf69c3220fff5d2fdc642a1b4c0674f36a1786c1e384ab641dde5b3149713d9b0a4e520cfd50c2cc89710fe54f1315303 WHIRLPOOL 0b4299b56b86cc4633225a321c957ce47fd719f3132c32f34618de2e7b15fc388a39cc3627959207490d7f8fb263942cc3be5a710b9cbe7114988364ba1a43fa
28 -DIST bfgminer-3.10.8.tbz2 1090429 SHA256 d9e67dfab78c3400954285d5f7d931f057bc8f491aacd387eb2ebe0d71414258 SHA512 dd42963d051cd64ab7b93404e2fe65b2de277b1e31af78defc595955a09064102ef006352c91a94c91b77aebbff967eb6ee04c4b625752331ff679a612f762fd WHIRLPOOL 74bdd376d6908c23d3308075e36eacac3523b24991e459b87411ef041a95e4ac07c03aa89a080847e07dfea5032c2093779e52de638374b54e7081b883e1bf33
29 -DIST bfgminer-4.10.1.tar.xz 986132 SHA256 a7862aabf8470c71fb275e2561ab9c1b1f1c19ba58d054048947c467f270330a SHA512 2e23d57261ce7ebc20b3b5a61e0454a69c06966bd8a04de85102e13f94052e527e04eff0314c323c54ca690b200a16b011b73a821a049993c4db5196b233cc94 WHIRLPOOL 4e82cee09452f1baac54320f3dd2c13e07c44ad395fed5762d5cceb505c593689b981c2ddde920a3f617528a0d2cd7d8c2bf81c1d50ddad8c44a260c4a1f8052
30 -DIST bfgminer-4.10.2.tar.xz 996560 SHA256 f7977bdf2ecd07962cf365b045ef440afd31b38034d3268091ccf74c84644b43 SHA512 1630007b437b78f3314a46a7064070cdaa64c9547311e3021717430d6364803d1cec91bb66d483cd6cee35c6422168b6413e91fade18d536df729caf5d17ab09 WHIRLPOOL e4d65b4ecfb94bff649b4e5625df1b2336747f863c8be86679b06b048e04ceb32ff0a716c621276373b489bedc6ce2884d2792af742874ab3cf7ef0e309f1e70
31 DIST bfgminer-4.10.3.tar.xz 988552 SHA256 c9e4ac3754dad838d3a8120afd499751ac2e8b15fe6dd6d18be28fc1ec72355a SHA512 99b684382c61c9e2eb0a3469af0f33ddb427f8f612bbad5623de29168547c7a87d065b18134b7e944163dcb429a9025f42c19ff8ac68cfeed705e008ef6292fb WHIRLPOOL b0887909dc878d9cf914bd092f3abbc2527a30cb4359f31cafbcc417cffa145bc3d3ab7a4809e8b068d8545ee5f01078cde753e37a615dc4532a2a352d75987a
32 -DIST bfgminer-5.0.0.tar.xz 1012092 SHA256 f1dada4d83737f7bc9623ad695a07a88808d8103c9c7617ce18825d241e328fd SHA512 fc1b116347e0b2af4e2c7f895368abe156019be5495e286df2f90708c16c1739e7362682389eb88ce64835d53545a5603eab4818d70018f7f872a28b4ec6c797 WHIRLPOOL 95085f7ddc374579520bae130b12923669c5788c0ea21e7377e57e907ed997936f6a413d9067c0121410bde42b33c0b194774794965a86328b60f3cf0d881165
33 -DIST bfgminer-5.1.0.tar.xz 1024292 SHA256 436595e8b3af267e8fed023ac6b5f208a385d891d0c3c1c41b8aa13f1c1e69c9 SHA512 826f3b1b2a3c0c0ce66ce888308cc531a2f8cf8212771bc07a650cf2811aeb40ed1d41ba1ffc8b3b16719cf261a5ce9d087bfa17603255cc53f0866b7ddc5459 WHIRLPOOL 9e1310b47f678c17840216e82f99d3c06152ad2efd49096ce27e31614282da62359bcca1e0a812ca2433fc933c5848ae0a8c271ccb2b7c8a7102e7d25b022ad2
34 -DIST bfgminer-5.2.0.tar.xz 1017012 SHA256 0cec8a4012d5784f781201d245bee834b0085274a24737ff3a4d0a28d48edc28 SHA512 5bb930d3cf9aed0ae9eaabbd92c3a26146a7308e61bcf5ebdf67f8f5f70a7bae1df0bad51312b4bdfabcc10547b0d991a1117db5f6b98b1047c1dae6fd880f85 WHIRLPOOL f18d4d029d6296d130bbb439b1323fe9ae8dfd89ddc3cdd3f4f85742969a17ccadb7ad49ff3527e9399d4b60ff6b7c2bd83cd291003e0f676af4307141b635da
35 DIST bfgminer-5.3.0.tar.xz 1017536 SHA256 d48fa6e51ff70ee1a85f77334a24f842ca6774c073c2d864fe739f07093ef77f SHA512 935b2a0595a2230f8ba9f832a280f52418c1b50b884010bebd2059cbef83d28c535d8d0b3cd7abe5b2420f6dc9fa8e9e0e32839ccdb6cd002a1e874dc5b1841a WHIRLPOOL 0244c9cf2a8928590f69819cfaa222498ae9e0b65aba4c0bc3fc751b7712e9284110ef238dd3bdeaa0562f4eaa292b4257e4d509966ff8e92731dd3f1d9f8ecc
36
37 diff --git a/net-misc/bfgminer/bfgminer-3.10.8.ebuild b/net-misc/bfgminer/bfgminer-3.10.8.ebuild
38 deleted file mode 100644
39 index fea1916..0000000
40 --- a/net-misc/bfgminer/bfgminer-3.10.8.ebuild
41 +++ /dev/null
42 @@ -1,159 +0,0 @@
43 -# Copyright 1999-2015 Gentoo Foundation
44 -# Distributed under the terms of the GNU General Public License v2
45 -# $Id$
46 -
47 -EAPI=5
48 -
49 -inherit eutils
50 -
51 -DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C"
52 -HOMEPAGE="https://bitcointalk.org/?topic=168174"
53 -SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2"
54 -
55 -LICENSE="GPL-3"
56 -SLOT="0"
57 -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
58 -
59 -# TODO: knc (needs i2c-tools header)
60 -IUSE="+adl antminer avalon bifury bitforce bfsb bigpic bitfury cpumining drillbit examples hardened hashbuster hashbuster2 hashfast icarus klondike +libusb littlefury lm_sensors metabank modminer nanofury ncurses +opencl proxy proxy_getwork proxy_stratum screen scrypt twinfury +udev unicode x6500 ztex"
61 -REQUIRED_USE='
62 - || ( antminer avalon bfsb bifury bigpic bitforce bitfury cpumining drillbit hashbuster hashbuster2 hashfast icarus klondike littlefury metabank modminer nanofury opencl proxy twinfury x6500 ztex )
63 - adl? ( opencl )
64 - bfsb? ( bitfury )
65 - bigpic? ( bitfury )
66 - drillbit? ( bitfury )
67 - hashbuster? ( bitfury )
68 - hashbuster2? ( bitfury libusb )
69 - klondike? ( libusb )
70 - littlefury? ( bitfury )
71 - lm_sensors? ( opencl )
72 - metabank? ( bitfury )
73 - nanofury? ( bitfury )
74 - scrypt? ( || ( cpumining opencl proxy ) )
75 - twinfury? ( bitfury )
76 - unicode? ( ncurses )
77 - proxy? ( || ( proxy_getwork proxy_stratum ) )
78 - proxy_getwork? ( proxy )
79 - proxy_stratum? ( proxy )
80 - x6500? ( libusb )
81 - ztex? ( libusb )
82 -'
83 -
84 -DEPEND='
85 - net-misc/curl
86 - ncurses? (
87 - sys-libs/ncurses:=[unicode?]
88 - )
89 - >=dev-libs/jansson-2
90 - net-libs/libblkmaker:=
91 - udev? (
92 - virtual/udev
93 - )
94 - hashbuster? (
95 - dev-libs/hidapi
96 - )
97 - libusb? (
98 - virtual/libusb:1
99 - )
100 - lm_sensors? (
101 - sys-apps/lm_sensors
102 - )
103 - nanofury? (
104 - dev-libs/hidapi
105 - )
106 - proxy_getwork? (
107 - net-libs/libmicrohttpd
108 - )
109 - proxy_stratum? (
110 - dev-libs/libevent
111 - )
112 - screen? (
113 - app-misc/screen
114 - || (
115 - >=sys-apps/coreutils-8.15
116 - sys-freebsd/freebsd-bin
117 - app-misc/realpath
118 - )
119 - )
120 -'
121 -RDEPEND="${DEPEND}
122 - opencl? (
123 - || (
124 - virtual/opencl
125 - dev-util/nvidia-cuda-sdk[opencl]
126 - )
127 - )
128 -"
129 -DEPEND="${DEPEND}
130 - virtual/pkgconfig
131 - >=dev-libs/uthash-1.9.7
132 - sys-apps/sed
133 - cpumining? (
134 - amd64? (
135 - >=dev-lang/yasm-1.0.1
136 - )
137 - x86? (
138 - >=dev-lang/yasm-1.0.1
139 - )
140 - )
141 -"
142 -
143 -src_configure() {
144 - local CFLAGS="${CFLAGS}"
145 - local with_curses
146 - use hardened && CFLAGS="${CFLAGS} -nopie"
147 -
148 - if use ncurses; then
149 - if use unicode; then
150 - with_curses='--with-curses=ncursesw'
151 - else
152 - with_curses='--with-curses=ncurses'
153 - fi
154 - else
155 - with_curses='--without-curses'
156 - fi
157 -
158 - CFLAGS="${CFLAGS}" \
159 - econf \
160 - --docdir="/usr/share/doc/${PF}" \
161 - $(use_enable adl) \
162 - $(use_enable antminer) \
163 - $(use_enable avalon) \
164 - $(use_enable bifury) \
165 - $(use_enable bitforce) \
166 - $(use_enable bfsb) \
167 - $(use_enable bigpic) \
168 - $(use_enable bitfury) \
169 - $(use_enable cpumining) \
170 - $(use_enable drillbit) \
171 - $(use_enable hashbuster) \
172 - $(use_enable hashbuster2 hashbusterusb) \
173 - $(use_enable hashfast) \
174 - $(use_enable icarus) \
175 - $(use_enable klondike) \
176 - $(use_enable littlefury) \
177 - $(use_enable metabank) \
178 - $(use_enable modminer) \
179 - $(use_enable nanofury) \
180 - $(use_enable opencl) \
181 - $(use_enable scrypt) \
182 - $(use_enable twinfury) \
183 - --with-system-libblkmaker \
184 - $with_curses \
185 - $(use_with udev libudev) \
186 - $(use_with lm_sensors sensors) \
187 - $(use_with proxy_getwork libmicrohttpd) \
188 - $(use_with proxy_stratum libevent) \
189 - $(use_enable x6500) \
190 - $(use_enable ztex)
191 -}
192 -
193 -src_install() {
194 - emake install DESTDIR="$D"
195 - if ! use examples; then
196 - rm -r "${D}/usr/share/doc/${PF}/rpc-examples"
197 - fi
198 - if ! use screen; then
199 - rm "${D}/usr/bin/start-bfgminer.sh"
200 - fi
201 -}
202
203 diff --git a/net-misc/bfgminer/bfgminer-4.10.1.ebuild b/net-misc/bfgminer/bfgminer-4.10.1.ebuild
204 deleted file mode 100644
205 index 66a4b78..0000000
206 --- a/net-misc/bfgminer/bfgminer-4.10.1.ebuild
207 +++ /dev/null
208 @@ -1,175 +0,0 @@
209 -# Copyright 1999-2015 Gentoo Foundation
210 -# Distributed under the terms of the GNU General Public License v2
211 -# $Id$
212 -
213 -EAPI=5
214 -
215 -inherit eutils
216 -
217 -DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C"
218 -HOMEPAGE="https://bitcointalk.org/?topic=168174"
219 -SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.txz -> ${P}.tar.xz"
220 -
221 -LICENSE="GPL-3"
222 -SLOT="0"
223 -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
224 -
225 -# TODO: knc (needs i2c-tools header)
226 -# TODO: minergate (needs actual miner_gate)
227 -# TODO: titan
228 -IUSE="adl antminer avalon avalonmm bfx bifury bitforce bfsb bigpic bitfury cointerra 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"
229 -REQUIRED_USE='
230 - || ( antminer avalon avalonmm 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 )
231 - adl? ( opencl )
232 - bfsb? ( bitfury )
233 - bfx? ( bitfury libusb )
234 - bigpic? ( bitfury )
235 - drillbit? ( bitfury )
236 - dualminer? ( icarus )
237 - gridseed? ( scrypt )
238 - hashbuster? ( bitfury )
239 - hashbuster2? ( bitfury libusb )
240 - klondike? ( libusb )
241 - littlefury? ( bitfury )
242 - lm_sensors? ( opencl )
243 - metabank? ( bitfury )
244 - nanofury? ( bitfury )
245 - scrypt? ( || ( cpumining dualminer gridseed opencl proxy zeusminer ) )
246 - twinfury? ( bitfury )
247 - unicode? ( ncurses )
248 - proxy? ( || ( proxy_getwork proxy_stratum ) )
249 - proxy_getwork? ( proxy )
250 - proxy_stratum? ( proxy )
251 - x6500? ( libusb )
252 - zeusminer? ( scrypt )
253 - ztex? ( libusb )
254 -'
255 -
256 -DEPEND='
257 - net-misc/curl
258 - ncurses? (
259 - sys-libs/ncurses:=[unicode?]
260 - )
261 - >=dev-libs/jansson-2
262 - dev-libs/libbase58
263 - net-libs/libblkmaker
264 - udev? (
265 - virtual/udev
266 - )
267 - hashbuster? (
268 - dev-libs/hidapi
269 - )
270 - libusb? (
271 - virtual/libusb:1
272 - )
273 - lm_sensors? (
274 - sys-apps/lm_sensors
275 - )
276 - nanofury? (
277 - dev-libs/hidapi
278 - )
279 - proxy_getwork? (
280 - net-libs/libmicrohttpd
281 - )
282 - proxy_stratum? (
283 - dev-libs/libevent
284 - )
285 - screen? (
286 - app-misc/screen
287 - || (
288 - >=sys-apps/coreutils-8.15
289 - sys-freebsd/freebsd-bin
290 - app-misc/realpath
291 - )
292 - )
293 -'
294 -RDEPEND="${DEPEND}
295 - opencl? (
296 - || (
297 - virtual/opencl
298 - dev-util/nvidia-cuda-sdk[opencl]
299 - )
300 - )
301 -"
302 -DEPEND="${DEPEND}
303 - virtual/pkgconfig
304 - >=dev-libs/uthash-1.9.7
305 - sys-apps/sed
306 - cpumining? (
307 - amd64? (
308 - >=dev-lang/yasm-1.0.1
309 - )
310 - x86? (
311 - >=dev-lang/yasm-1.0.1
312 - )
313 - )
314 -"
315 -
316 -src_configure() {
317 - local CFLAGS="${CFLAGS}"
318 - local with_curses
319 - use hardened && CFLAGS="${CFLAGS} -nopie"
320 -
321 - if use ncurses; then
322 - if use unicode; then
323 - with_curses='--with-curses=ncursesw'
324 - else
325 - with_curses='--with-curses=ncurses'
326 - fi
327 - else
328 - with_curses='--without-curses'
329 - fi
330 -
331 - CFLAGS="${CFLAGS}" \
332 - econf \
333 - --docdir="/usr/share/doc/${PF}" \
334 - $(use_enable adl) \
335 - $(use_enable antminer) \
336 - $(use_enable avalon) \
337 - $(use_enable avalonmm) \
338 - $(use_enable bifury) \
339 - $(use_enable bitforce) \
340 - $(use_enable bfsb) \
341 - $(use_enable bfx) \
342 - $(use_enable bigpic) \
343 - $(use_enable bitfury) \
344 - $(use_enable cointerra) \
345 - $(use_enable cpumining) \
346 - $(use_enable drillbit) \
347 - $(use_enable dualminer) \
348 - $(use_enable gridseed) \
349 - $(use_enable hashbuster) \
350 - $(use_enable hashbuster2 hashbusterusb) \
351 - $(use_enable hashfast) \
352 - $(use_enable icarus) \
353 - $(use_enable jingtian) \
354 - $(use_enable klondike) \
355 - $(use_enable littlefury) \
356 - $(use_enable metabank) \
357 - $(use_enable modminer) \
358 - $(use_enable nanofury) \
359 - $(use_enable opencl) \
360 - $(use_enable rockminer) \
361 - $(use_enable scrypt) \
362 - $(use_enable twinfury) \
363 - --with-system-libblkmaker \
364 - $with_curses \
365 - $(use_with udev libudev) \
366 - $(use_enable udev-broad-rules broad-udevrules) \
367 - $(use_with lm_sensors sensors) \
368 - $(use_with proxy_getwork libmicrohttpd) \
369 - $(use_with proxy_stratum libevent) \
370 - $(use_enable x6500) \
371 - $(use_enable zeusminer) \
372 - $(use_enable ztex)
373 -}
374 -
375 -src_install() {
376 - emake install DESTDIR="$D"
377 - if ! use examples; then
378 - rm -r "${D}/usr/share/doc/${PF}/rpc-examples"
379 - fi
380 - if ! use screen; then
381 - rm "${D}/usr/bin/start-bfgminer.sh"
382 - fi
383 -}
384
385 diff --git a/net-misc/bfgminer/bfgminer-4.10.2.ebuild b/net-misc/bfgminer/bfgminer-4.10.2.ebuild
386 deleted file mode 100644
387 index 66a4b78..0000000
388 --- a/net-misc/bfgminer/bfgminer-4.10.2.ebuild
389 +++ /dev/null
390 @@ -1,175 +0,0 @@
391 -# Copyright 1999-2015 Gentoo Foundation
392 -# Distributed under the terms of the GNU General Public License v2
393 -# $Id$
394 -
395 -EAPI=5
396 -
397 -inherit eutils
398 -
399 -DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C"
400 -HOMEPAGE="https://bitcointalk.org/?topic=168174"
401 -SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.txz -> ${P}.tar.xz"
402 -
403 -LICENSE="GPL-3"
404 -SLOT="0"
405 -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
406 -
407 -# TODO: knc (needs i2c-tools header)
408 -# TODO: minergate (needs actual miner_gate)
409 -# TODO: titan
410 -IUSE="adl antminer avalon avalonmm bfx bifury bitforce bfsb bigpic bitfury cointerra 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"
411 -REQUIRED_USE='
412 - || ( antminer avalon avalonmm 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 )
413 - adl? ( opencl )
414 - bfsb? ( bitfury )
415 - bfx? ( bitfury libusb )
416 - bigpic? ( bitfury )
417 - drillbit? ( bitfury )
418 - dualminer? ( icarus )
419 - gridseed? ( scrypt )
420 - hashbuster? ( bitfury )
421 - hashbuster2? ( bitfury libusb )
422 - klondike? ( libusb )
423 - littlefury? ( bitfury )
424 - lm_sensors? ( opencl )
425 - metabank? ( bitfury )
426 - nanofury? ( bitfury )
427 - scrypt? ( || ( cpumining dualminer gridseed opencl proxy zeusminer ) )
428 - twinfury? ( bitfury )
429 - unicode? ( ncurses )
430 - proxy? ( || ( proxy_getwork proxy_stratum ) )
431 - proxy_getwork? ( proxy )
432 - proxy_stratum? ( proxy )
433 - x6500? ( libusb )
434 - zeusminer? ( scrypt )
435 - ztex? ( libusb )
436 -'
437 -
438 -DEPEND='
439 - net-misc/curl
440 - ncurses? (
441 - sys-libs/ncurses:=[unicode?]
442 - )
443 - >=dev-libs/jansson-2
444 - dev-libs/libbase58
445 - net-libs/libblkmaker
446 - udev? (
447 - virtual/udev
448 - )
449 - hashbuster? (
450 - dev-libs/hidapi
451 - )
452 - libusb? (
453 - virtual/libusb:1
454 - )
455 - lm_sensors? (
456 - sys-apps/lm_sensors
457 - )
458 - nanofury? (
459 - dev-libs/hidapi
460 - )
461 - proxy_getwork? (
462 - net-libs/libmicrohttpd
463 - )
464 - proxy_stratum? (
465 - dev-libs/libevent
466 - )
467 - screen? (
468 - app-misc/screen
469 - || (
470 - >=sys-apps/coreutils-8.15
471 - sys-freebsd/freebsd-bin
472 - app-misc/realpath
473 - )
474 - )
475 -'
476 -RDEPEND="${DEPEND}
477 - opencl? (
478 - || (
479 - virtual/opencl
480 - dev-util/nvidia-cuda-sdk[opencl]
481 - )
482 - )
483 -"
484 -DEPEND="${DEPEND}
485 - virtual/pkgconfig
486 - >=dev-libs/uthash-1.9.7
487 - sys-apps/sed
488 - cpumining? (
489 - amd64? (
490 - >=dev-lang/yasm-1.0.1
491 - )
492 - x86? (
493 - >=dev-lang/yasm-1.0.1
494 - )
495 - )
496 -"
497 -
498 -src_configure() {
499 - local CFLAGS="${CFLAGS}"
500 - local with_curses
501 - use hardened && CFLAGS="${CFLAGS} -nopie"
502 -
503 - if use ncurses; then
504 - if use unicode; then
505 - with_curses='--with-curses=ncursesw'
506 - else
507 - with_curses='--with-curses=ncurses'
508 - fi
509 - else
510 - with_curses='--without-curses'
511 - fi
512 -
513 - CFLAGS="${CFLAGS}" \
514 - econf \
515 - --docdir="/usr/share/doc/${PF}" \
516 - $(use_enable adl) \
517 - $(use_enable antminer) \
518 - $(use_enable avalon) \
519 - $(use_enable avalonmm) \
520 - $(use_enable bifury) \
521 - $(use_enable bitforce) \
522 - $(use_enable bfsb) \
523 - $(use_enable bfx) \
524 - $(use_enable bigpic) \
525 - $(use_enable bitfury) \
526 - $(use_enable cointerra) \
527 - $(use_enable cpumining) \
528 - $(use_enable drillbit) \
529 - $(use_enable dualminer) \
530 - $(use_enable gridseed) \
531 - $(use_enable hashbuster) \
532 - $(use_enable hashbuster2 hashbusterusb) \
533 - $(use_enable hashfast) \
534 - $(use_enable icarus) \
535 - $(use_enable jingtian) \
536 - $(use_enable klondike) \
537 - $(use_enable littlefury) \
538 - $(use_enable metabank) \
539 - $(use_enable modminer) \
540 - $(use_enable nanofury) \
541 - $(use_enable opencl) \
542 - $(use_enable rockminer) \
543 - $(use_enable scrypt) \
544 - $(use_enable twinfury) \
545 - --with-system-libblkmaker \
546 - $with_curses \
547 - $(use_with udev libudev) \
548 - $(use_enable udev-broad-rules broad-udevrules) \
549 - $(use_with lm_sensors sensors) \
550 - $(use_with proxy_getwork libmicrohttpd) \
551 - $(use_with proxy_stratum libevent) \
552 - $(use_enable x6500) \
553 - $(use_enable zeusminer) \
554 - $(use_enable ztex)
555 -}
556 -
557 -src_install() {
558 - emake install DESTDIR="$D"
559 - if ! use examples; then
560 - rm -r "${D}/usr/share/doc/${PF}/rpc-examples"
561 - fi
562 - if ! use screen; then
563 - rm "${D}/usr/bin/start-bfgminer.sh"
564 - fi
565 -}
566
567 diff --git a/net-misc/bfgminer/bfgminer-5.0.0.ebuild b/net-misc/bfgminer/bfgminer-5.0.0.ebuild
568 deleted file mode 100644
569 index bad51c9..0000000
570 --- a/net-misc/bfgminer/bfgminer-5.0.0.ebuild
571 +++ /dev/null
572 @@ -1,195 +0,0 @@
573 -# Copyright 1999-2015 Gentoo Foundation
574 -# Distributed under the terms of the GNU General Public License v2
575 -# $Id$
576 -
577 -EAPI=5
578 -
579 -inherit eutils
580 -
581 -DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C"
582 -HOMEPAGE="https://bitcointalk.org/?topic=168174"
583 -SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.txz -> ${P}.tar.xz"
584 -
585 -LICENSE="GPL-3"
586 -SLOT="0"
587 -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
588 -
589 -# TODO: knc (needs i2c-tools header)
590 -# TODO: kncasic & titan (need systemwide knc-asic install)
591 -# TODO: minergate (needs actual miner_gate)
592 -IUSE="adl antminer avalon avalonmm 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"
593 -REQUIRED_USE='
594 - || ( keccak scrypt sha256d )
595 - || ( antminer avalon avalonmm 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 )
596 - adl? ( opencl )
597 - antminer? ( sha256d )
598 - avalon? ( sha256d )
599 - avalonmm? ( sha256d )
600 - bfsb? ( sha256d bitfury )
601 - bfx? ( sha256d bitfury libusb )
602 - bifury? ( sha256d )
603 - bigpic? ( sha256d bitfury )
604 - bitforce? ( sha256d )
605 - bitfury? ( sha256d )
606 - cointerra? ( sha256d )
607 - drillbit? ( sha256d bitfury )
608 - dualminer? ( || ( sha256d scrypt ) icarus )
609 - gridseed? ( scrypt )
610 - hashbuster? ( sha256d bitfury )
611 - hashbuster2? ( sha256d bitfury libusb )
612 - hashfast? ( sha256d )
613 - icarus? ( || ( scrypt sha256d ) )
614 - jingtian? ( sha256d )
615 - keccak? ( || ( cpumining opencl proxy ) )
616 - klondike? ( sha256d libusb )
617 - littlefury? ( sha256d bitfury )
618 - lm_sensors? ( opencl )
619 - metabank? ( sha256d bitfury )
620 - minion? ( sha256d )
621 - modminer? ( sha256d )
622 - nanofury? ( sha256d bitfury )
623 - scrypt? ( || ( cpumining dualminer gridseed opencl proxy zeusminer ) )
624 - sha256d? ( || ( antminer avalon avalonmm bfx bifury bitforce bfsb bigpic bitfury cointerra cpumining drillbit dualminer hashbuster hashbuster2 hashfast icarus jingtian klondike littlefury metabank modminer nanofury opencl proxy rockminer twinfury x6500 ztex ) )
625 - twinfury? ( bitfury )
626 - unicode? ( ncurses )
627 - proxy? ( || ( proxy_getwork proxy_stratum ) )
628 - proxy_getwork? ( proxy )
629 - proxy_stratum? ( proxy )
630 - rockminer? ( sha256d )
631 - twinfury? ( sha256d )
632 - x6500? ( sha256d libusb )
633 - zeusminer? ( scrypt )
634 - ztex? ( sha256d libusb )
635 -'
636 -
637 -DEPEND='
638 - net-misc/curl
639 - ncurses? (
640 - sys-libs/ncurses:=[unicode?]
641 - )
642 - >=dev-libs/jansson-2
643 - dev-libs/libbase58
644 - net-libs/libblkmaker
645 - udev? (
646 - virtual/udev
647 - )
648 - hashbuster? (
649 - dev-libs/hidapi
650 - )
651 - libusb? (
652 - virtual/libusb:1
653 - )
654 - lm_sensors? (
655 - sys-apps/lm_sensors
656 - )
657 - nanofury? (
658 - dev-libs/hidapi
659 - )
660 - proxy_getwork? (
661 - net-libs/libmicrohttpd
662 - )
663 - proxy_stratum? (
664 - dev-libs/libevent
665 - )
666 - screen? (
667 - app-misc/screen
668 - || (
669 - >=sys-apps/coreutils-8.15
670 - sys-freebsd/freebsd-bin
671 - app-misc/realpath
672 - )
673 - )
674 -'
675 -RDEPEND="${DEPEND}
676 - opencl? (
677 - || (
678 - virtual/opencl
679 - dev-util/nvidia-cuda-sdk[opencl]
680 - )
681 - )
682 -"
683 -DEPEND="${DEPEND}
684 - virtual/pkgconfig
685 - >=dev-libs/uthash-1.9.7
686 - sys-apps/sed
687 - cpumining? (
688 - amd64? (
689 - >=dev-lang/yasm-1.0.1
690 - )
691 - x86? (
692 - >=dev-lang/yasm-1.0.1
693 - )
694 - )
695 -"
696 -
697 -src_configure() {
698 - local CFLAGS="${CFLAGS}"
699 - local with_curses
700 - use hardened && CFLAGS="${CFLAGS} -nopie"
701 -
702 - if use ncurses; then
703 - if use unicode; then
704 - with_curses='--with-curses=ncursesw'
705 - else
706 - with_curses='--with-curses=ncurses'
707 - fi
708 - else
709 - with_curses='--without-curses'
710 - fi
711 -
712 - CFLAGS="${CFLAGS}" \
713 - econf \
714 - --docdir="/usr/share/doc/${PF}" \
715 - $(use_enable adl) \
716 - $(use_enable antminer) \
717 - $(use_enable avalon) \
718 - $(use_enable avalonmm) \
719 - $(use_enable bifury) \
720 - $(use_enable bitforce) \
721 - $(use_enable bfsb) \
722 - $(use_enable bfx) \
723 - $(use_enable bigpic) \
724 - $(use_enable bitfury) \
725 - $(use_enable cointerra) \
726 - $(use_enable cpumining) \
727 - $(use_enable drillbit) \
728 - $(use_enable dualminer) \
729 - $(use_enable gridseed) \
730 - $(use_enable hashbuster) \
731 - $(use_enable hashbuster2 hashbusterusb) \
732 - $(use_enable hashfast) \
733 - $(use_enable icarus) \
734 - $(use_enable jingtian) \
735 - $(use_enable keccak) \
736 - $(use_enable klondike) \
737 - $(use_enable littlefury) \
738 - $(use_enable metabank) \
739 - $(use_enable minion) \
740 - $(use_enable modminer) \
741 - $(use_enable nanofury) \
742 - $(use_enable opencl) \
743 - $(use_enable rockminer) \
744 - $(use_enable scrypt) \
745 - $(use_enable sha256d) \
746 - $(use_enable twinfury) \
747 - --with-system-libblkmaker \
748 - $with_curses \
749 - $(use_with udev libudev) \
750 - $(use_enable udev-broad-rules broad-udevrules) \
751 - $(use_with lm_sensors sensors) \
752 - $(use_with proxy_getwork libmicrohttpd) \
753 - $(use_with proxy_stratum libevent) \
754 - $(use_enable x6500) \
755 - $(use_enable zeusminer) \
756 - $(use_enable ztex)
757 -}
758 -
759 -src_install() {
760 - emake install DESTDIR="$D"
761 - if ! use examples; then
762 - rm -r "${D}/usr/share/doc/${PF}/rpc-examples"
763 - fi
764 - if ! use screen; then
765 - rm "${D}/usr/bin/start-bfgminer.sh"
766 - fi
767 -}
768
769 diff --git a/net-misc/bfgminer/bfgminer-5.1.0.ebuild b/net-misc/bfgminer/bfgminer-5.1.0.ebuild
770 deleted file mode 100644
771 index bad51c9..0000000
772 --- a/net-misc/bfgminer/bfgminer-5.1.0.ebuild
773 +++ /dev/null
774 @@ -1,195 +0,0 @@
775 -# Copyright 1999-2015 Gentoo Foundation
776 -# Distributed under the terms of the GNU General Public License v2
777 -# $Id$
778 -
779 -EAPI=5
780 -
781 -inherit eutils
782 -
783 -DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C"
784 -HOMEPAGE="https://bitcointalk.org/?topic=168174"
785 -SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.txz -> ${P}.tar.xz"
786 -
787 -LICENSE="GPL-3"
788 -SLOT="0"
789 -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
790 -
791 -# TODO: knc (needs i2c-tools header)
792 -# TODO: kncasic & titan (need systemwide knc-asic install)
793 -# TODO: minergate (needs actual miner_gate)
794 -IUSE="adl antminer avalon avalonmm 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"
795 -REQUIRED_USE='
796 - || ( keccak scrypt sha256d )
797 - || ( antminer avalon avalonmm 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 )
798 - adl? ( opencl )
799 - antminer? ( sha256d )
800 - avalon? ( sha256d )
801 - avalonmm? ( sha256d )
802 - bfsb? ( sha256d bitfury )
803 - bfx? ( sha256d bitfury libusb )
804 - bifury? ( sha256d )
805 - bigpic? ( sha256d bitfury )
806 - bitforce? ( sha256d )
807 - bitfury? ( sha256d )
808 - cointerra? ( sha256d )
809 - drillbit? ( sha256d bitfury )
810 - dualminer? ( || ( sha256d scrypt ) icarus )
811 - gridseed? ( scrypt )
812 - hashbuster? ( sha256d bitfury )
813 - hashbuster2? ( sha256d bitfury libusb )
814 - hashfast? ( sha256d )
815 - icarus? ( || ( scrypt sha256d ) )
816 - jingtian? ( sha256d )
817 - keccak? ( || ( cpumining opencl proxy ) )
818 - klondike? ( sha256d libusb )
819 - littlefury? ( sha256d bitfury )
820 - lm_sensors? ( opencl )
821 - metabank? ( sha256d bitfury )
822 - minion? ( sha256d )
823 - modminer? ( sha256d )
824 - nanofury? ( sha256d bitfury )
825 - scrypt? ( || ( cpumining dualminer gridseed opencl proxy zeusminer ) )
826 - sha256d? ( || ( antminer avalon avalonmm bfx bifury bitforce bfsb bigpic bitfury cointerra cpumining drillbit dualminer hashbuster hashbuster2 hashfast icarus jingtian klondike littlefury metabank modminer nanofury opencl proxy rockminer twinfury x6500 ztex ) )
827 - twinfury? ( bitfury )
828 - unicode? ( ncurses )
829 - proxy? ( || ( proxy_getwork proxy_stratum ) )
830 - proxy_getwork? ( proxy )
831 - proxy_stratum? ( proxy )
832 - rockminer? ( sha256d )
833 - twinfury? ( sha256d )
834 - x6500? ( sha256d libusb )
835 - zeusminer? ( scrypt )
836 - ztex? ( sha256d libusb )
837 -'
838 -
839 -DEPEND='
840 - net-misc/curl
841 - ncurses? (
842 - sys-libs/ncurses:=[unicode?]
843 - )
844 - >=dev-libs/jansson-2
845 - dev-libs/libbase58
846 - net-libs/libblkmaker
847 - udev? (
848 - virtual/udev
849 - )
850 - hashbuster? (
851 - dev-libs/hidapi
852 - )
853 - libusb? (
854 - virtual/libusb:1
855 - )
856 - lm_sensors? (
857 - sys-apps/lm_sensors
858 - )
859 - nanofury? (
860 - dev-libs/hidapi
861 - )
862 - proxy_getwork? (
863 - net-libs/libmicrohttpd
864 - )
865 - proxy_stratum? (
866 - dev-libs/libevent
867 - )
868 - screen? (
869 - app-misc/screen
870 - || (
871 - >=sys-apps/coreutils-8.15
872 - sys-freebsd/freebsd-bin
873 - app-misc/realpath
874 - )
875 - )
876 -'
877 -RDEPEND="${DEPEND}
878 - opencl? (
879 - || (
880 - virtual/opencl
881 - dev-util/nvidia-cuda-sdk[opencl]
882 - )
883 - )
884 -"
885 -DEPEND="${DEPEND}
886 - virtual/pkgconfig
887 - >=dev-libs/uthash-1.9.7
888 - sys-apps/sed
889 - cpumining? (
890 - amd64? (
891 - >=dev-lang/yasm-1.0.1
892 - )
893 - x86? (
894 - >=dev-lang/yasm-1.0.1
895 - )
896 - )
897 -"
898 -
899 -src_configure() {
900 - local CFLAGS="${CFLAGS}"
901 - local with_curses
902 - use hardened && CFLAGS="${CFLAGS} -nopie"
903 -
904 - if use ncurses; then
905 - if use unicode; then
906 - with_curses='--with-curses=ncursesw'
907 - else
908 - with_curses='--with-curses=ncurses'
909 - fi
910 - else
911 - with_curses='--without-curses'
912 - fi
913 -
914 - CFLAGS="${CFLAGS}" \
915 - econf \
916 - --docdir="/usr/share/doc/${PF}" \
917 - $(use_enable adl) \
918 - $(use_enable antminer) \
919 - $(use_enable avalon) \
920 - $(use_enable avalonmm) \
921 - $(use_enable bifury) \
922 - $(use_enable bitforce) \
923 - $(use_enable bfsb) \
924 - $(use_enable bfx) \
925 - $(use_enable bigpic) \
926 - $(use_enable bitfury) \
927 - $(use_enable cointerra) \
928 - $(use_enable cpumining) \
929 - $(use_enable drillbit) \
930 - $(use_enable dualminer) \
931 - $(use_enable gridseed) \
932 - $(use_enable hashbuster) \
933 - $(use_enable hashbuster2 hashbusterusb) \
934 - $(use_enable hashfast) \
935 - $(use_enable icarus) \
936 - $(use_enable jingtian) \
937 - $(use_enable keccak) \
938 - $(use_enable klondike) \
939 - $(use_enable littlefury) \
940 - $(use_enable metabank) \
941 - $(use_enable minion) \
942 - $(use_enable modminer) \
943 - $(use_enable nanofury) \
944 - $(use_enable opencl) \
945 - $(use_enable rockminer) \
946 - $(use_enable scrypt) \
947 - $(use_enable sha256d) \
948 - $(use_enable twinfury) \
949 - --with-system-libblkmaker \
950 - $with_curses \
951 - $(use_with udev libudev) \
952 - $(use_enable udev-broad-rules broad-udevrules) \
953 - $(use_with lm_sensors sensors) \
954 - $(use_with proxy_getwork libmicrohttpd) \
955 - $(use_with proxy_stratum libevent) \
956 - $(use_enable x6500) \
957 - $(use_enable zeusminer) \
958 - $(use_enable ztex)
959 -}
960 -
961 -src_install() {
962 - emake install DESTDIR="$D"
963 - if ! use examples; then
964 - rm -r "${D}/usr/share/doc/${PF}/rpc-examples"
965 - fi
966 - if ! use screen; then
967 - rm "${D}/usr/bin/start-bfgminer.sh"
968 - fi
969 -}
970
971 diff --git a/net-misc/bfgminer/bfgminer-5.2.0.ebuild b/net-misc/bfgminer/bfgminer-5.2.0.ebuild
972 deleted file mode 100644
973 index bad51c9..0000000
974 --- a/net-misc/bfgminer/bfgminer-5.2.0.ebuild
975 +++ /dev/null
976 @@ -1,195 +0,0 @@
977 -# Copyright 1999-2015 Gentoo Foundation
978 -# Distributed under the terms of the GNU General Public License v2
979 -# $Id$
980 -
981 -EAPI=5
982 -
983 -inherit eutils
984 -
985 -DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C"
986 -HOMEPAGE="https://bitcointalk.org/?topic=168174"
987 -SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.txz -> ${P}.tar.xz"
988 -
989 -LICENSE="GPL-3"
990 -SLOT="0"
991 -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
992 -
993 -# TODO: knc (needs i2c-tools header)
994 -# TODO: kncasic & titan (need systemwide knc-asic install)
995 -# TODO: minergate (needs actual miner_gate)
996 -IUSE="adl antminer avalon avalonmm 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"
997 -REQUIRED_USE='
998 - || ( keccak scrypt sha256d )
999 - || ( antminer avalon avalonmm 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 )
1000 - adl? ( opencl )
1001 - antminer? ( sha256d )
1002 - avalon? ( sha256d )
1003 - avalonmm? ( sha256d )
1004 - bfsb? ( sha256d bitfury )
1005 - bfx? ( sha256d bitfury libusb )
1006 - bifury? ( sha256d )
1007 - bigpic? ( sha256d bitfury )
1008 - bitforce? ( sha256d )
1009 - bitfury? ( sha256d )
1010 - cointerra? ( sha256d )
1011 - drillbit? ( sha256d bitfury )
1012 - dualminer? ( || ( sha256d scrypt ) icarus )
1013 - gridseed? ( scrypt )
1014 - hashbuster? ( sha256d bitfury )
1015 - hashbuster2? ( sha256d bitfury libusb )
1016 - hashfast? ( sha256d )
1017 - icarus? ( || ( scrypt sha256d ) )
1018 - jingtian? ( sha256d )
1019 - keccak? ( || ( cpumining opencl proxy ) )
1020 - klondike? ( sha256d libusb )
1021 - littlefury? ( sha256d bitfury )
1022 - lm_sensors? ( opencl )
1023 - metabank? ( sha256d bitfury )
1024 - minion? ( sha256d )
1025 - modminer? ( sha256d )
1026 - nanofury? ( sha256d bitfury )
1027 - scrypt? ( || ( cpumining dualminer gridseed opencl proxy zeusminer ) )
1028 - sha256d? ( || ( antminer avalon avalonmm bfx bifury bitforce bfsb bigpic bitfury cointerra cpumining drillbit dualminer hashbuster hashbuster2 hashfast icarus jingtian klondike littlefury metabank modminer nanofury opencl proxy rockminer twinfury x6500 ztex ) )
1029 - twinfury? ( bitfury )
1030 - unicode? ( ncurses )
1031 - proxy? ( || ( proxy_getwork proxy_stratum ) )
1032 - proxy_getwork? ( proxy )
1033 - proxy_stratum? ( proxy )
1034 - rockminer? ( sha256d )
1035 - twinfury? ( sha256d )
1036 - x6500? ( sha256d libusb )
1037 - zeusminer? ( scrypt )
1038 - ztex? ( sha256d libusb )
1039 -'
1040 -
1041 -DEPEND='
1042 - net-misc/curl
1043 - ncurses? (
1044 - sys-libs/ncurses:=[unicode?]
1045 - )
1046 - >=dev-libs/jansson-2
1047 - dev-libs/libbase58
1048 - net-libs/libblkmaker
1049 - udev? (
1050 - virtual/udev
1051 - )
1052 - hashbuster? (
1053 - dev-libs/hidapi
1054 - )
1055 - libusb? (
1056 - virtual/libusb:1
1057 - )
1058 - lm_sensors? (
1059 - sys-apps/lm_sensors
1060 - )
1061 - nanofury? (
1062 - dev-libs/hidapi
1063 - )
1064 - proxy_getwork? (
1065 - net-libs/libmicrohttpd
1066 - )
1067 - proxy_stratum? (
1068 - dev-libs/libevent
1069 - )
1070 - screen? (
1071 - app-misc/screen
1072 - || (
1073 - >=sys-apps/coreutils-8.15
1074 - sys-freebsd/freebsd-bin
1075 - app-misc/realpath
1076 - )
1077 - )
1078 -'
1079 -RDEPEND="${DEPEND}
1080 - opencl? (
1081 - || (
1082 - virtual/opencl
1083 - dev-util/nvidia-cuda-sdk[opencl]
1084 - )
1085 - )
1086 -"
1087 -DEPEND="${DEPEND}
1088 - virtual/pkgconfig
1089 - >=dev-libs/uthash-1.9.7
1090 - sys-apps/sed
1091 - cpumining? (
1092 - amd64? (
1093 - >=dev-lang/yasm-1.0.1
1094 - )
1095 - x86? (
1096 - >=dev-lang/yasm-1.0.1
1097 - )
1098 - )
1099 -"
1100 -
1101 -src_configure() {
1102 - local CFLAGS="${CFLAGS}"
1103 - local with_curses
1104 - use hardened && CFLAGS="${CFLAGS} -nopie"
1105 -
1106 - if use ncurses; then
1107 - if use unicode; then
1108 - with_curses='--with-curses=ncursesw'
1109 - else
1110 - with_curses='--with-curses=ncurses'
1111 - fi
1112 - else
1113 - with_curses='--without-curses'
1114 - fi
1115 -
1116 - CFLAGS="${CFLAGS}" \
1117 - econf \
1118 - --docdir="/usr/share/doc/${PF}" \
1119 - $(use_enable adl) \
1120 - $(use_enable antminer) \
1121 - $(use_enable avalon) \
1122 - $(use_enable avalonmm) \
1123 - $(use_enable bifury) \
1124 - $(use_enable bitforce) \
1125 - $(use_enable bfsb) \
1126 - $(use_enable bfx) \
1127 - $(use_enable bigpic) \
1128 - $(use_enable bitfury) \
1129 - $(use_enable cointerra) \
1130 - $(use_enable cpumining) \
1131 - $(use_enable drillbit) \
1132 - $(use_enable dualminer) \
1133 - $(use_enable gridseed) \
1134 - $(use_enable hashbuster) \
1135 - $(use_enable hashbuster2 hashbusterusb) \
1136 - $(use_enable hashfast) \
1137 - $(use_enable icarus) \
1138 - $(use_enable jingtian) \
1139 - $(use_enable keccak) \
1140 - $(use_enable klondike) \
1141 - $(use_enable littlefury) \
1142 - $(use_enable metabank) \
1143 - $(use_enable minion) \
1144 - $(use_enable modminer) \
1145 - $(use_enable nanofury) \
1146 - $(use_enable opencl) \
1147 - $(use_enable rockminer) \
1148 - $(use_enable scrypt) \
1149 - $(use_enable sha256d) \
1150 - $(use_enable twinfury) \
1151 - --with-system-libblkmaker \
1152 - $with_curses \
1153 - $(use_with udev libudev) \
1154 - $(use_enable udev-broad-rules broad-udevrules) \
1155 - $(use_with lm_sensors sensors) \
1156 - $(use_with proxy_getwork libmicrohttpd) \
1157 - $(use_with proxy_stratum libevent) \
1158 - $(use_enable x6500) \
1159 - $(use_enable zeusminer) \
1160 - $(use_enable ztex)
1161 -}
1162 -
1163 -src_install() {
1164 - emake install DESTDIR="$D"
1165 - if ! use examples; then
1166 - rm -r "${D}/usr/share/doc/${PF}/rpc-examples"
1167 - fi
1168 - if ! use screen; then
1169 - rm "${D}/usr/bin/start-bfgminer.sh"
1170 - fi
1171 -}