1 |
blueness 13/11/07 17:49:02 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: bfgminer-3.5.1.ebuild bfgminer-3.3.0-r2.ebuild |
5 |
bfgminer-3.2.1-r1.ebuild bfgminer-3.5.0.ebuild |
6 |
bfgminer-3.2.5.ebuild bfgminer-3.2.2-r1.ebuild |
7 |
bfgminer-3.4.0-r1.ebuild bfgminer-3.2.3-r1.ebuild |
8 |
bfgminer-3.2.4.ebuild |
9 |
Removed: bfgminer-3.2.3.ebuild bfgminer-3.2.1.ebuild |
10 |
bfgminer-3.3.0.ebuild bfgminer-3.4.0.ebuild |
11 |
bfgminer-3.3.0-r1.ebuild bfgminer-3.2.2.ebuild |
12 |
Log: |
13 |
Version bumps |
14 |
|
15 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
16 |
|
17 |
Revision Changes Path |
18 |
1.13 net-misc/bfgminer/metadata.xml |
19 |
|
20 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/metadata.xml?rev=1.13&view=markup |
21 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/metadata.xml?rev=1.13&content-type=text/plain |
22 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/metadata.xml?r1=1.12&r2=1.13 |
23 |
|
24 |
Index: metadata.xml |
25 |
=================================================================== |
26 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/bfgminer/metadata.xml,v |
27 |
retrieving revision 1.12 |
28 |
retrieving revision 1.13 |
29 |
diff -u -r1.12 -r1.13 |
30 |
--- metadata.xml 27 Oct 2013 16:30:15 -0000 1.12 |
31 |
+++ metadata.xml 7 Nov 2013 17:49:02 -0000 1.13 |
32 |
@@ -18,6 +18,7 @@ |
33 |
<flag name='bigpic'>Enable support for mining with Big Picture Mining USB sticks (Red/BlueFury, BF1, etc)</flag> |
34 |
<flag name='bitfury'>Enable support for mining with 55nm Bitfury-based devices</flag> |
35 |
<flag name='cpumining'>Enable support for mining with CPUs</flag> |
36 |
+ <flag name='hashbuster'>Enable support for mining with HashBuster nano boards</flag> |
37 |
<flag name='icarus'>Enable support for mining with Icarus-compatible devices (including Block Erupter Sapphire ASICs)</flag> |
38 |
<flag name='littlefury'>Enable support for mining with LittleFury USB sticks</flag> |
39 |
<flag name='metabank'>Enable support for mining on Metabank host Raspberry Pi</flag> |
40 |
|
41 |
|
42 |
|
43 |
1.51 net-misc/bfgminer/ChangeLog |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/ChangeLog?rev=1.51&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/ChangeLog?rev=1.51&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/ChangeLog?r1=1.50&r2=1.51 |
48 |
|
49 |
Index: ChangeLog |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v |
52 |
retrieving revision 1.50 |
53 |
retrieving revision 1.51 |
54 |
diff -u -r1.50 -r1.51 |
55 |
--- ChangeLog 27 Oct 2013 16:30:15 -0000 1.50 |
56 |
+++ ChangeLog 7 Nov 2013 17:49:02 -0000 1.51 |
57 |
@@ -1,6 +1,25 @@ |
58 |
# ChangeLog for net-misc/bfgminer |
59 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.50 2013/10/27 16:30:15 blueness Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.51 2013/11/07 17:49:02 blueness Exp $ |
62 |
+ |
63 |
+*bfgminer-3.3.0-r2 (07 Nov 2013) |
64 |
+*bfgminer-3.2.1-r1 (07 Nov 2013) |
65 |
+*bfgminer-3.2.2-r1 (07 Nov 2013) |
66 |
+*bfgminer-3.5.1 (07 Nov 2013) |
67 |
+*bfgminer-3.2.4 (07 Nov 2013) |
68 |
+*bfgminer-3.2.5 (07 Nov 2013) |
69 |
+*bfgminer-3.2.3-r1 (07 Nov 2013) |
70 |
+*bfgminer-3.5.0 (07 Nov 2013) |
71 |
+*bfgminer-3.4.0-r1 (07 Nov 2013) |
72 |
+ |
73 |
+ 07 Nov 2013; Anthony G. Basile <blueness@g.o> |
74 |
+ +bfgminer-3.2.1-r1.ebuild, +bfgminer-3.2.2-r1.ebuild, |
75 |
+ +bfgminer-3.2.3-r1.ebuild, +bfgminer-3.2.4.ebuild, +bfgminer-3.2.5.ebuild, |
76 |
+ +bfgminer-3.3.0-r2.ebuild, +bfgminer-3.4.0-r1.ebuild, +bfgminer-3.5.0.ebuild, |
77 |
+ +bfgminer-3.5.1.ebuild, -bfgminer-3.2.1.ebuild, -bfgminer-3.2.2.ebuild, |
78 |
+ -bfgminer-3.2.3.ebuild, -bfgminer-3.3.0-r1.ebuild, -bfgminer-3.3.0.ebuild, |
79 |
+ -bfgminer-3.4.0.ebuild, metadata.xml: |
80 |
+ Version bumps |
81 |
|
82 |
*bfgminer-3.3.0-r1 (27 Oct 2013) |
83 |
*bfgminer-3.4.0 (27 Oct 2013) |
84 |
|
85 |
|
86 |
|
87 |
1.1 net-misc/bfgminer/bfgminer-3.5.1.ebuild |
88 |
|
89 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.5.1.ebuild?rev=1.1&view=markup |
90 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.5.1.ebuild?rev=1.1&content-type=text/plain |
91 |
|
92 |
Index: bfgminer-3.5.1.ebuild |
93 |
=================================================================== |
94 |
# Copyright 1999-2013 Gentoo Foundation |
95 |
# Distributed under the terms of the GNU General Public License v2 |
96 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.5.1.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ |
97 |
|
98 |
EAPI=4 |
99 |
|
100 |
inherit eutils |
101 |
|
102 |
DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" |
103 |
HOMEPAGE="https://bitcointalk.org/?topic=168174" |
104 |
SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" |
105 |
|
106 |
LICENSE="GPL-3" |
107 |
SLOT="0" |
108 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
109 |
|
110 |
# Waiting for dev-libs/hidapi to be keyworded |
111 |
#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" |
112 |
|
113 |
# TODO: knc (needs i2c-tools header) |
114 |
IUSE="+adl avalon bitforce bfsb bigpic bitfury cpumining examples hardened hashbuster icarus littlefury lm_sensors metabank modminer nanofury ncurses +opencl proxy proxy_getwork proxy_stratum scrypt +udev unicode x6500 ztex" |
115 |
REQUIRED_USE=' |
116 |
|| ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) |
117 |
adl? ( opencl ) |
118 |
bfsb? ( bitfury ) |
119 |
bigpic? ( bitfury ) |
120 |
hashbuster? ( bitfury ) |
121 |
littlefury? ( bitfury ) |
122 |
lm_sensors? ( opencl ) |
123 |
metabank? ( bitfury ) |
124 |
nanofury? ( bitfury ) |
125 |
scrypt? ( || ( cpumining opencl ) ) |
126 |
unicode? ( ncurses ) |
127 |
proxy? ( || ( proxy_getwork proxy_stratum ) ) |
128 |
proxy_getwork? ( proxy ) |
129 |
proxy_stratum? ( proxy ) |
130 |
' |
131 |
|
132 |
DEPEND=' |
133 |
net-misc/curl |
134 |
ncurses? ( |
135 |
sys-libs/ncurses[unicode?] |
136 |
) |
137 |
>=dev-libs/jansson-2 |
138 |
net-libs/libblkmaker |
139 |
udev? ( |
140 |
virtual/udev |
141 |
) |
142 |
hashbuster? ( |
143 |
dev-libs/hidapi |
144 |
) |
145 |
lm_sensors? ( |
146 |
sys-apps/lm_sensors |
147 |
) |
148 |
nanofury? ( |
149 |
dev-libs/hidapi |
150 |
) |
151 |
proxy_getwork? ( |
152 |
net-libs/libmicrohttpd |
153 |
) |
154 |
proxy_stratum? ( |
155 |
dev-libs/libevent |
156 |
) |
157 |
x6500? ( |
158 |
virtual/libusb:1 |
159 |
) |
160 |
ztex? ( |
161 |
virtual/libusb:1 |
162 |
) |
163 |
' |
164 |
RDEPEND="${DEPEND} |
165 |
opencl? ( |
166 |
|| ( |
167 |
virtual/opencl |
168 |
virtual/opencl-sdk |
169 |
dev-util/ati-stream-sdk |
170 |
dev-util/ati-stream-sdk-bin |
171 |
dev-util/amdstream |
172 |
dev-util/amd-app-sdk |
173 |
dev-util/amd-app-sdk-bin |
174 |
dev-util/nvidia-cuda-sdk[opencl] |
175 |
dev-util/intel-opencl-sdk |
176 |
) |
177 |
) |
178 |
" |
179 |
DEPEND="${DEPEND} |
180 |
virtual/pkgconfig |
181 |
>=dev-libs/uthash-1.9.2 |
182 |
sys-apps/sed |
183 |
cpumining? ( |
184 |
amd64? ( |
185 |
>=dev-lang/yasm-1.0.1 |
186 |
) |
187 |
x86? ( |
188 |
>=dev-lang/yasm-1.0.1 |
189 |
) |
190 |
) |
191 |
" |
192 |
|
193 |
src_configure() { |
194 |
local CFLAGS="${CFLAGS}" |
195 |
local with_curses |
196 |
use hardened && CFLAGS="${CFLAGS} -nopie" |
197 |
|
198 |
if use ncurses; then |
199 |
if use unicode; then |
200 |
with_curses='--with-curses=ncursesw' |
201 |
else |
202 |
with_curses='--with-curses=ncurses' |
203 |
fi |
204 |
else |
205 |
with_curses='--without-curses' |
206 |
fi |
207 |
|
208 |
CFLAGS="${CFLAGS}" \ |
209 |
econf \ |
210 |
--docdir="/usr/share/doc/${PF}" \ |
211 |
$(use_enable adl) \ |
212 |
$(use_enable avalon) \ |
213 |
$(use_enable bitforce) \ |
214 |
$(use_enable bfsb) \ |
215 |
$(use_enable bigpic) \ |
216 |
$(use_enable bitfury) \ |
217 |
$(use_enable cpumining) \ |
218 |
$(use_enable hashbuster) \ |
219 |
$(use_enable icarus) \ |
220 |
$(use_enable littlefury) \ |
221 |
$(use_enable metabank) \ |
222 |
$(use_enable modminer) \ |
223 |
$(use_enable nanofury) \ |
224 |
$(use_enable opencl) \ |
225 |
$(use_enable scrypt) \ |
226 |
--with-system-libblkmaker \ |
227 |
$with_curses \ |
228 |
$(use_with udev libudev) \ |
229 |
$(use_with lm_sensors sensors) \ |
230 |
$(use_with proxy_getwork libmicrohttpd) \ |
231 |
$(use_with proxy_stratum libevent) \ |
232 |
$(use_enable x6500) \ |
233 |
$(use_enable ztex) |
234 |
} |
235 |
|
236 |
src_install() { |
237 |
emake install DESTDIR="$D" |
238 |
if ! use examples; then |
239 |
rm -r "${D}/usr/share/doc/${PF}/rpc-examples" |
240 |
fi |
241 |
} |
242 |
|
243 |
|
244 |
|
245 |
1.1 net-misc/bfgminer/bfgminer-3.3.0-r2.ebuild |
246 |
|
247 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.3.0-r2.ebuild?rev=1.1&view=markup |
248 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.3.0-r2.ebuild?rev=1.1&content-type=text/plain |
249 |
|
250 |
Index: bfgminer-3.3.0-r2.ebuild |
251 |
=================================================================== |
252 |
# Copyright 1999-2013 Gentoo Foundation |
253 |
# Distributed under the terms of the GNU General Public License v2 |
254 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.3.0-r2.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ |
255 |
|
256 |
EAPI="4" |
257 |
|
258 |
inherit eutils |
259 |
|
260 |
DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" |
261 |
HOMEPAGE="https://bitcointalk.org/?topic=168174" |
262 |
SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" |
263 |
|
264 |
LICENSE="GPL-3" |
265 |
SLOT="0" |
266 |
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" |
267 |
|
268 |
IUSE="+adl avalon bitforce bfsb bigpic bitfury cpumining examples hardened icarus littlefury lm_sensors metabank modminer ncurses +opencl proxy proxy_getwork proxy_stratum scrypt +udev unicode x6500 ztex" |
269 |
REQUIRED_USE=" |
270 |
|| ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) |
271 |
adl? ( opencl ) |
272 |
bfsb? ( bitfury ) |
273 |
bigpic? ( bitfury ) |
274 |
littlefury? ( bitfury ) |
275 |
lm_sensors? ( opencl ) |
276 |
metabank? ( bitfury ) |
277 |
scrypt? ( || ( cpumining opencl ) ) |
278 |
unicode? ( ncurses ) |
279 |
proxy? ( || ( proxy_getwork proxy_stratum ) ) |
280 |
proxy_getwork? ( proxy ) |
281 |
proxy_stratum? ( proxy ) |
282 |
" |
283 |
|
284 |
DEPEND=" |
285 |
net-misc/curl |
286 |
ncurses? ( |
287 |
sys-libs/ncurses[unicode?] |
288 |
) |
289 |
>=dev-libs/jansson-2 |
290 |
net-libs/libblkmaker |
291 |
udev? ( |
292 |
virtual/udev |
293 |
) |
294 |
lm_sensors? ( |
295 |
sys-apps/lm_sensors |
296 |
) |
297 |
proxy_getwork? ( |
298 |
net-libs/libmicrohttpd |
299 |
) |
300 |
proxy_stratum? ( |
301 |
dev-libs/libevent |
302 |
) |
303 |
x6500? ( |
304 |
virtual/libusb:1 |
305 |
) |
306 |
ztex? ( |
307 |
virtual/libusb:1 |
308 |
) |
309 |
" |
310 |
RDEPEND="${DEPEND} |
311 |
opencl? ( |
312 |
virtual/opencl |
313 |
) |
314 |
" |
315 |
DEPEND="${DEPEND} |
316 |
virtual/pkgconfig |
317 |
>=dev-libs/uthash-1.9.2 |
318 |
sys-apps/sed |
319 |
cpumining? ( |
320 |
amd64? ( |
321 |
>=dev-lang/yasm-1.0.1 |
322 |
) |
323 |
x86? ( |
324 |
>=dev-lang/yasm-1.0.1 |
325 |
) |
326 |
) |
327 |
" |
328 |
|
329 |
src_configure() { |
330 |
local CFLAGS="${CFLAGS}" |
331 |
local with_curses |
332 |
use hardened && CFLAGS="${CFLAGS} -nopie" |
333 |
|
334 |
if use ncurses; then |
335 |
if use unicode; then |
336 |
with_curses='--with-curses=ncursesw' |
337 |
else |
338 |
with_curses='--with-curses=ncurses' |
339 |
fi |
340 |
else |
341 |
with_curses='--without-curses' |
342 |
fi |
343 |
|
344 |
CFLAGS="${CFLAGS}" \ |
345 |
econf \ |
346 |
--docdir="/usr/share/doc/${PF}" \ |
347 |
$(use_enable adl) \ |
348 |
$(use_enable avalon) \ |
349 |
$(use_enable bitforce) \ |
350 |
$(use_enable bfsb) \ |
351 |
$(use_enable bigpic) \ |
352 |
$(use_enable bitfury) \ |
353 |
$(use_enable cpumining) \ |
354 |
$(use_enable icarus) \ |
355 |
$(use_enable littlefury) \ |
356 |
$(use_enable metabank) \ |
357 |
$(use_enable modminer) \ |
358 |
$(use_enable opencl) \ |
359 |
$(use_enable scrypt) \ |
360 |
--with-system-libblkmaker \ |
361 |
$with_curses \ |
362 |
$(use_with udev libudev) \ |
363 |
$(use_with lm_sensors sensors) \ |
364 |
$(use_with proxy_getwork libmicrohttpd) \ |
365 |
$(use_with proxy_stratum libevent) \ |
366 |
$(use_enable x6500) \ |
367 |
$(use_enable ztex) |
368 |
} |
369 |
|
370 |
src_install() { |
371 |
emake install DESTDIR="$D" |
372 |
if ! use examples; then |
373 |
rm -r "${D}/usr/share/doc/${PF}/rpc-examples" |
374 |
fi |
375 |
} |
376 |
|
377 |
|
378 |
|
379 |
1.1 net-misc/bfgminer/bfgminer-3.2.1-r1.ebuild |
380 |
|
381 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.1-r1.ebuild?rev=1.1&view=markup |
382 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.1-r1.ebuild?rev=1.1&content-type=text/plain |
383 |
|
384 |
Index: bfgminer-3.2.1-r1.ebuild |
385 |
=================================================================== |
386 |
# Copyright 1999-2013 Gentoo Foundation |
387 |
# Distributed under the terms of the GNU General Public License v2 |
388 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.1-r1.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ |
389 |
|
390 |
EAPI=4 |
391 |
|
392 |
inherit eutils |
393 |
|
394 |
DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" |
395 |
HOMEPAGE="https://bitcointalk.org/?topic=168174" |
396 |
SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" |
397 |
|
398 |
LICENSE="GPL-3" |
399 |
SLOT="0" |
400 |
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" |
401 |
|
402 |
IUSE="+adl avalon bitforce cpumining examples hardened icarus lm_sensors modminer ncurses +opencl proxy scrypt +udev unicode x6500 ztex" |
403 |
REQUIRED_USE=' |
404 |
|| ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) |
405 |
adl? ( opencl ) |
406 |
lm_sensors? ( opencl ) |
407 |
scrypt? ( || ( cpumining opencl ) ) |
408 |
unicode? ( ncurses ) |
409 |
' |
410 |
|
411 |
DEPEND=' |
412 |
net-misc/curl |
413 |
ncurses? ( |
414 |
sys-libs/ncurses[unicode?] |
415 |
) |
416 |
>=dev-libs/jansson-2 |
417 |
net-libs/libblkmaker |
418 |
udev? ( |
419 |
virtual/udev |
420 |
) |
421 |
lm_sensors? ( |
422 |
sys-apps/lm_sensors |
423 |
) |
424 |
proxy? ( |
425 |
net-libs/libmicrohttpd |
426 |
) |
427 |
x6500? ( |
428 |
virtual/libusb:1 |
429 |
) |
430 |
ztex? ( |
431 |
virtual/libusb:1 |
432 |
) |
433 |
' |
434 |
RDEPEND="${DEPEND} |
435 |
opencl? ( |
436 |
|| ( |
437 |
virtual/opencl |
438 |
virtual/opencl-sdk |
439 |
dev-util/ati-stream-sdk |
440 |
dev-util/ati-stream-sdk-bin |
441 |
dev-util/amdstream |
442 |
dev-util/amd-app-sdk |
443 |
dev-util/amd-app-sdk-bin |
444 |
dev-util/nvidia-cuda-sdk[opencl] |
445 |
dev-util/intel-opencl-sdk |
446 |
) |
447 |
) |
448 |
" |
449 |
DEPEND="${DEPEND} |
450 |
virtual/pkgconfig |
451 |
>=dev-libs/uthash-1.9.2 |
452 |
sys-apps/sed |
453 |
cpumining? ( |
454 |
amd64? ( |
455 |
>=dev-lang/yasm-1.0.1 |
456 |
) |
457 |
x86? ( |
458 |
>=dev-lang/yasm-1.0.1 |
459 |
) |
460 |
) |
461 |
" |
462 |
|
463 |
src_configure() { |
464 |
local CFLAGS="${CFLAGS}" |
465 |
local with_curses |
466 |
use hardened && CFLAGS="${CFLAGS} -nopie" |
467 |
|
468 |
if use ncurses; then |
469 |
if use unicode; then |
470 |
with_curses='--with-curses=ncursesw' |
471 |
else |
472 |
with_curses='--with-curses=ncurses' |
473 |
fi |
474 |
else |
475 |
with_curses='--without-curses' |
476 |
fi |
477 |
|
478 |
CFLAGS="${CFLAGS}" \ |
479 |
econf \ |
480 |
--docdir="/usr/share/doc/${PF}" \ |
481 |
$(use_enable adl) \ |
482 |
$(use_enable avalon) \ |
483 |
$(use_enable bitforce) \ |
484 |
$(use_enable cpumining) \ |
485 |
$(use_enable icarus) \ |
486 |
$(use_enable modminer) \ |
487 |
$(use_enable opencl) \ |
488 |
$(use_enable scrypt) \ |
489 |
--with-system-libblkmaker \ |
490 |
$with_curses \ |
491 |
$(use_with udev libudev) \ |
492 |
$(use_with lm_sensors sensors) \ |
493 |
$(use_with proxy libmicrohttpd) \ |
494 |
$(use_enable x6500) \ |
495 |
$(use_enable ztex) |
496 |
} |
497 |
|
498 |
src_install() { |
499 |
emake install DESTDIR="$D" |
500 |
if ! use examples; then |
501 |
rm -r "${D}/usr/share/doc/${PF}/rpc-examples" |
502 |
fi |
503 |
} |
504 |
|
505 |
|
506 |
|
507 |
1.1 net-misc/bfgminer/bfgminer-3.5.0.ebuild |
508 |
|
509 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.5.0.ebuild?rev=1.1&view=markup |
510 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.5.0.ebuild?rev=1.1&content-type=text/plain |
511 |
|
512 |
Index: bfgminer-3.5.0.ebuild |
513 |
=================================================================== |
514 |
# Copyright 1999-2013 Gentoo Foundation |
515 |
# Distributed under the terms of the GNU General Public License v2 |
516 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.5.0.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ |
517 |
|
518 |
EAPI="4" |
519 |
|
520 |
inherit eutils |
521 |
|
522 |
DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" |
523 |
HOMEPAGE="https://bitcointalk.org/?topic=168174" |
524 |
SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" |
525 |
|
526 |
LICENSE="GPL-3" |
527 |
SLOT="0" |
528 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
529 |
|
530 |
# Waiting for dev-libs/hidapi to be keyworded |
531 |
#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" |
532 |
|
533 |
# TODO: knc (needs i2c-tools header) |
534 |
IUSE="+adl avalon bitforce bfsb bigpic bitfury cpumining examples hardened hashbuster icarus littlefury lm_sensors metabank modminer nanofury ncurses +opencl proxy proxy_getwork proxy_stratum scrypt +udev unicode x6500 ztex" |
535 |
REQUIRED_USE=" |
536 |
|| ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) |
537 |
adl? ( opencl ) |
538 |
bfsb? ( bitfury ) |
539 |
bigpic? ( bitfury ) |
540 |
hashbuster? ( bitfury ) |
541 |
littlefury? ( bitfury ) |
542 |
lm_sensors? ( opencl ) |
543 |
metabank? ( bitfury ) |
544 |
nanofury? ( bitfury ) |
545 |
scrypt? ( || ( cpumining opencl ) ) |
546 |
unicode? ( ncurses ) |
547 |
proxy? ( || ( proxy_getwork proxy_stratum ) ) |
548 |
proxy_getwork? ( proxy ) |
549 |
proxy_stratum? ( proxy ) |
550 |
" |
551 |
|
552 |
DEPEND=" |
553 |
net-misc/curl |
554 |
ncurses? ( |
555 |
sys-libs/ncurses[unicode?] |
556 |
) |
557 |
>=dev-libs/jansson-2 |
558 |
net-libs/libblkmaker |
559 |
udev? ( |
560 |
virtual/udev |
561 |
) |
562 |
hashbuster? ( |
563 |
dev-libs/hidapi |
564 |
) |
565 |
lm_sensors? ( |
566 |
sys-apps/lm_sensors |
567 |
) |
568 |
nanofury? ( |
569 |
dev-libs/hidapi |
570 |
) |
571 |
proxy_getwork? ( |
572 |
net-libs/libmicrohttpd |
573 |
) |
574 |
proxy_stratum? ( |
575 |
dev-libs/libevent |
576 |
) |
577 |
x6500? ( |
578 |
virtual/libusb:1 |
579 |
) |
580 |
ztex? ( |
581 |
virtual/libusb:1 |
582 |
) |
583 |
" |
584 |
RDEPEND="${DEPEND} |
585 |
opencl? ( |
586 |
virtual/opencl |
587 |
) |
588 |
" |
589 |
DEPEND="${DEPEND} |
590 |
virtual/pkgconfig |
591 |
>=dev-libs/uthash-1.9.2 |
592 |
sys-apps/sed |
593 |
cpumining? ( |
594 |
amd64? ( |
595 |
>=dev-lang/yasm-1.0.1 |
596 |
) |
597 |
x86? ( |
598 |
>=dev-lang/yasm-1.0.1 |
599 |
) |
600 |
) |
601 |
" |
602 |
|
603 |
src_configure() { |
604 |
local CFLAGS="${CFLAGS}" |
605 |
local with_curses |
606 |
use hardened && CFLAGS="${CFLAGS} -nopie" |
607 |
|
608 |
if use ncurses; then |
609 |
if use unicode; then |
610 |
with_curses='--with-curses=ncursesw' |
611 |
else |
612 |
with_curses='--with-curses=ncurses' |
613 |
fi |
614 |
else |
615 |
with_curses='--without-curses' |
616 |
fi |
617 |
|
618 |
CFLAGS="${CFLAGS}" \ |
619 |
econf \ |
620 |
--docdir="/usr/share/doc/${PF}" \ |
621 |
$(use_enable adl) \ |
622 |
$(use_enable avalon) \ |
623 |
$(use_enable bitforce) \ |
624 |
$(use_enable bfsb) \ |
625 |
$(use_enable bigpic) \ |
626 |
$(use_enable bitfury) \ |
627 |
$(use_enable cpumining) \ |
628 |
$(use_enable hashbuster) \ |
629 |
$(use_enable icarus) \ |
630 |
$(use_enable littlefury) \ |
631 |
$(use_enable metabank) \ |
632 |
$(use_enable modminer) \ |
633 |
$(use_enable nanofury) \ |
634 |
$(use_enable opencl) \ |
635 |
$(use_enable scrypt) \ |
636 |
--with-system-libblkmaker \ |
637 |
$with_curses \ |
638 |
$(use_with udev libudev) \ |
639 |
$(use_with lm_sensors sensors) \ |
640 |
$(use_with proxy_getwork libmicrohttpd) \ |
641 |
$(use_with proxy_stratum libevent) \ |
642 |
$(use_enable x6500) \ |
643 |
$(use_enable ztex) |
644 |
} |
645 |
|
646 |
src_install() { |
647 |
emake install DESTDIR="$D" |
648 |
if ! use examples; then |
649 |
rm -r "${D}/usr/share/doc/${PF}/rpc-examples" |
650 |
fi |
651 |
} |
652 |
|
653 |
|
654 |
|
655 |
1.1 net-misc/bfgminer/bfgminer-3.2.5.ebuild |
656 |
|
657 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.5.ebuild?rev=1.1&view=markup |
658 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.5.ebuild?rev=1.1&content-type=text/plain |
659 |
|
660 |
Index: bfgminer-3.2.5.ebuild |
661 |
=================================================================== |
662 |
# Copyright 1999-2013 Gentoo Foundation |
663 |
# Distributed under the terms of the GNU General Public License v2 |
664 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.5.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ |
665 |
|
666 |
EAPI=4 |
667 |
|
668 |
inherit eutils |
669 |
|
670 |
DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" |
671 |
HOMEPAGE="https://bitcointalk.org/?topic=168174" |
672 |
SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" |
673 |
|
674 |
LICENSE="GPL-3" |
675 |
SLOT="0" |
676 |
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" |
677 |
|
678 |
IUSE="+adl avalon bitforce cpumining examples hardened icarus lm_sensors modminer ncurses +opencl proxy scrypt +udev unicode x6500 ztex" |
679 |
REQUIRED_USE=' |
680 |
|| ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) |
681 |
adl? ( opencl ) |
682 |
lm_sensors? ( opencl ) |
683 |
scrypt? ( || ( cpumining opencl ) ) |
684 |
unicode? ( ncurses ) |
685 |
' |
686 |
|
687 |
DEPEND=' |
688 |
net-misc/curl |
689 |
ncurses? ( |
690 |
sys-libs/ncurses[unicode?] |
691 |
) |
692 |
>=dev-libs/jansson-2 |
693 |
net-libs/libblkmaker |
694 |
udev? ( |
695 |
virtual/udev |
696 |
) |
697 |
lm_sensors? ( |
698 |
sys-apps/lm_sensors |
699 |
) |
700 |
proxy? ( |
701 |
net-libs/libmicrohttpd |
702 |
) |
703 |
x6500? ( |
704 |
virtual/libusb:1 |
705 |
) |
706 |
ztex? ( |
707 |
virtual/libusb:1 |
708 |
) |
709 |
' |
710 |
RDEPEND="${DEPEND} |
711 |
opencl? ( |
712 |
|| ( |
713 |
virtual/opencl |
714 |
virtual/opencl-sdk |
715 |
dev-util/ati-stream-sdk |
716 |
dev-util/ati-stream-sdk-bin |
717 |
dev-util/amdstream |
718 |
dev-util/amd-app-sdk |
719 |
dev-util/amd-app-sdk-bin |
720 |
dev-util/nvidia-cuda-sdk[opencl] |
721 |
dev-util/intel-opencl-sdk |
722 |
) |
723 |
) |
724 |
" |
725 |
DEPEND="${DEPEND} |
726 |
virtual/pkgconfig |
727 |
>=dev-libs/uthash-1.9.2 |
728 |
sys-apps/sed |
729 |
cpumining? ( |
730 |
amd64? ( |
731 |
>=dev-lang/yasm-1.0.1 |
732 |
) |
733 |
x86? ( |
734 |
>=dev-lang/yasm-1.0.1 |
735 |
) |
736 |
) |
737 |
" |
738 |
|
739 |
src_configure() { |
740 |
local CFLAGS="${CFLAGS}" |
741 |
local with_curses |
742 |
use hardened && CFLAGS="${CFLAGS} -nopie" |
743 |
|
744 |
if use ncurses; then |
745 |
if use unicode; then |
746 |
with_curses='--with-curses=ncursesw' |
747 |
else |
748 |
with_curses='--with-curses=ncurses' |
749 |
fi |
750 |
else |
751 |
with_curses='--without-curses' |
752 |
fi |
753 |
|
754 |
CFLAGS="${CFLAGS}" \ |
755 |
econf \ |
756 |
--docdir="/usr/share/doc/${PF}" \ |
757 |
$(use_enable adl) \ |
758 |
$(use_enable avalon) \ |
759 |
$(use_enable bitforce) \ |
760 |
$(use_enable cpumining) \ |
761 |
$(use_enable icarus) \ |
762 |
$(use_enable modminer) \ |
763 |
$(use_enable opencl) \ |
764 |
$(use_enable scrypt) \ |
765 |
--with-system-libblkmaker \ |
766 |
$with_curses \ |
767 |
$(use_with udev libudev) \ |
768 |
$(use_with lm_sensors sensors) \ |
769 |
$(use_with proxy libmicrohttpd) \ |
770 |
$(use_enable x6500) \ |
771 |
$(use_enable ztex) |
772 |
} |
773 |
|
774 |
src_install() { |
775 |
emake install DESTDIR="$D" |
776 |
if ! use examples; then |
777 |
rm -r "${D}/usr/share/doc/${PF}/rpc-examples" |
778 |
fi |
779 |
} |
780 |
|
781 |
|
782 |
|
783 |
1.1 net-misc/bfgminer/bfgminer-3.2.2-r1.ebuild |
784 |
|
785 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.2-r1.ebuild?rev=1.1&view=markup |
786 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.2-r1.ebuild?rev=1.1&content-type=text/plain |
787 |
|
788 |
Index: bfgminer-3.2.2-r1.ebuild |
789 |
=================================================================== |
790 |
# Copyright 1999-2013 Gentoo Foundation |
791 |
# Distributed under the terms of the GNU General Public License v2 |
792 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.2-r1.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ |
793 |
|
794 |
EAPI="4" |
795 |
|
796 |
inherit eutils |
797 |
|
798 |
DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" |
799 |
HOMEPAGE="https://bitcointalk.org/?topic=168174" |
800 |
SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" |
801 |
|
802 |
LICENSE="GPL-3" |
803 |
SLOT="0" |
804 |
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" |
805 |
|
806 |
IUSE="+adl avalon bitforce cpumining examples hardened icarus lm_sensors modminer ncurses +opencl proxy scrypt +udev unicode x6500 ztex" |
807 |
REQUIRED_USE=" |
808 |
|| ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) |
809 |
adl? ( opencl ) |
810 |
lm_sensors? ( opencl ) |
811 |
scrypt? ( || ( cpumining opencl ) ) |
812 |
unicode? ( ncurses ) |
813 |
" |
814 |
|
815 |
DEPEND=" |
816 |
net-misc/curl |
817 |
ncurses? ( |
818 |
sys-libs/ncurses[unicode?] |
819 |
) |
820 |
>=dev-libs/jansson-2 |
821 |
net-libs/libblkmaker |
822 |
udev? ( |
823 |
virtual/udev |
824 |
) |
825 |
lm_sensors? ( |
826 |
sys-apps/lm_sensors |
827 |
) |
828 |
proxy? ( |
829 |
net-libs/libmicrohttpd |
830 |
) |
831 |
x6500? ( |
832 |
virtual/libusb:1 |
833 |
) |
834 |
ztex? ( |
835 |
virtual/libusb:1 |
836 |
) |
837 |
" |
838 |
RDEPEND="${DEPEND} |
839 |
opencl? ( |
840 |
virtual/opencl |
841 |
) |
842 |
" |
843 |
DEPEND="${DEPEND} |
844 |
virtual/pkgconfig |
845 |
>=dev-libs/uthash-1.9.2 |
846 |
sys-apps/sed |
847 |
cpumining? ( |
848 |
amd64? ( |
849 |
>=dev-lang/yasm-1.0.1 |
850 |
) |
851 |
x86? ( |
852 |
>=dev-lang/yasm-1.0.1 |
853 |
) |
854 |
) |
855 |
" |
856 |
|
857 |
src_configure() { |
858 |
local CFLAGS="${CFLAGS}" |
859 |
local with_curses |
860 |
use hardened && CFLAGS="${CFLAGS} -nopie" |
861 |
|
862 |
if use ncurses; then |
863 |
if use unicode; then |
864 |
with_curses='--with-curses=ncursesw' |
865 |
else |
866 |
with_curses='--with-curses=ncurses' |
867 |
fi |
868 |
else |
869 |
with_curses='--without-curses' |
870 |
fi |
871 |
|
872 |
CFLAGS="${CFLAGS}" \ |
873 |
econf \ |
874 |
--docdir="/usr/share/doc/${PF}" \ |
875 |
$(use_enable adl) \ |
876 |
$(use_enable avalon) \ |
877 |
$(use_enable bitforce) \ |
878 |
$(use_enable cpumining) \ |
879 |
$(use_enable icarus) \ |
880 |
$(use_enable modminer) \ |
881 |
$(use_enable opencl) \ |
882 |
$(use_enable scrypt) \ |
883 |
--with-system-libblkmaker \ |
884 |
$with_curses \ |
885 |
$(use_with udev libudev) \ |
886 |
$(use_with lm_sensors sensors) \ |
887 |
$(use_with proxy libmicrohttpd) \ |
888 |
$(use_enable x6500) \ |
889 |
$(use_enable ztex) |
890 |
} |
891 |
|
892 |
src_install() { |
893 |
emake install DESTDIR="$D" |
894 |
if ! use examples; then |
895 |
rm -r "${D}/usr/share/doc/${PF}/rpc-examples" |
896 |
fi |
897 |
} |
898 |
|
899 |
|
900 |
|
901 |
1.1 net-misc/bfgminer/bfgminer-3.4.0-r1.ebuild |
902 |
|
903 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.4.0-r1.ebuild?rev=1.1&view=markup |
904 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.4.0-r1.ebuild?rev=1.1&content-type=text/plain |
905 |
|
906 |
Index: bfgminer-3.4.0-r1.ebuild |
907 |
=================================================================== |
908 |
# Copyright 1999-2013 Gentoo Foundation |
909 |
# Distributed under the terms of the GNU General Public License v2 |
910 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.4.0-r1.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ |
911 |
|
912 |
EAPI="4" |
913 |
|
914 |
inherit eutils |
915 |
|
916 |
DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" |
917 |
HOMEPAGE="https://bitcointalk.org/?topic=168174" |
918 |
SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" |
919 |
|
920 |
LICENSE="GPL-3" |
921 |
SLOT="0" |
922 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
923 |
|
924 |
# Waiting for dev-libs/hidapi to be keyworded |
925 |
#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" |
926 |
|
927 |
# TODO: knc (needs i2c-tools header) |
928 |
IUSE="+adl avalon bitforce bfsb bigpic bitfury cpumining examples hardened icarus littlefury lm_sensors metabank modminer nanofury ncurses +opencl proxy proxy_getwork proxy_stratum scrypt +udev unicode x6500 ztex" |
929 |
REQUIRED_USE=" |
930 |
|| ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) |
931 |
adl? ( opencl ) |
932 |
bfsb? ( bitfury ) |
933 |
bigpic? ( bitfury ) |
934 |
littlefury? ( bitfury ) |
935 |
lm_sensors? ( opencl ) |
936 |
metabank? ( bitfury ) |
937 |
nanofury? ( bitfury ) |
938 |
scrypt? ( || ( cpumining opencl ) ) |
939 |
unicode? ( ncurses ) |
940 |
proxy? ( || ( proxy_getwork proxy_stratum ) ) |
941 |
proxy_getwork? ( proxy ) |
942 |
proxy_stratum? ( proxy ) |
943 |
" |
944 |
|
945 |
DEPEND=" |
946 |
net-misc/curl |
947 |
ncurses? ( |
948 |
sys-libs/ncurses[unicode?] |
949 |
) |
950 |
>=dev-libs/jansson-2 |
951 |
net-libs/libblkmaker |
952 |
udev? ( |
953 |
virtual/udev |
954 |
) |
955 |
lm_sensors? ( |
956 |
sys-apps/lm_sensors |
957 |
) |
958 |
nanofury? ( |
959 |
dev-libs/hidapi |
960 |
) |
961 |
proxy_getwork? ( |
962 |
net-libs/libmicrohttpd |
963 |
) |
964 |
proxy_stratum? ( |
965 |
dev-libs/libevent |
966 |
) |
967 |
x6500? ( |
968 |
virtual/libusb:1 |
969 |
) |
970 |
ztex? ( |
971 |
virtual/libusb:1 |
972 |
) |
973 |
" |
974 |
RDEPEND="${DEPEND} |
975 |
opencl? ( |
976 |
virtual/opencl |
977 |
) |
978 |
" |
979 |
DEPEND="${DEPEND} |
980 |
virtual/pkgconfig |
981 |
>=dev-libs/uthash-1.9.2 |
982 |
sys-apps/sed |
983 |
cpumining? ( |
984 |
amd64? ( |
985 |
>=dev-lang/yasm-1.0.1 |
986 |
) |
987 |
x86? ( |
988 |
>=dev-lang/yasm-1.0.1 |
989 |
) |
990 |
) |
991 |
" |
992 |
|
993 |
src_configure() { |
994 |
local CFLAGS="${CFLAGS}" |
995 |
local with_curses |
996 |
use hardened && CFLAGS="${CFLAGS} -nopie" |
997 |
|
998 |
if use ncurses; then |
999 |
if use unicode; then |
1000 |
with_curses='--with-curses=ncursesw' |
1001 |
else |
1002 |
with_curses='--with-curses=ncurses' |
1003 |
fi |
1004 |
else |
1005 |
with_curses='--without-curses' |
1006 |
fi |
1007 |
|
1008 |
CFLAGS="${CFLAGS}" \ |
1009 |
econf \ |
1010 |
--docdir="/usr/share/doc/${PF}" \ |
1011 |
$(use_enable adl) \ |
1012 |
$(use_enable avalon) \ |
1013 |
$(use_enable bitforce) \ |
1014 |
$(use_enable bfsb) \ |
1015 |
$(use_enable bigpic) \ |
1016 |
$(use_enable bitfury) \ |
1017 |
$(use_enable cpumining) \ |
1018 |
$(use_enable icarus) \ |
1019 |
$(use_enable littlefury) \ |
1020 |
$(use_enable metabank) \ |
1021 |
$(use_enable modminer) \ |
1022 |
$(use_enable nanofury) \ |
1023 |
$(use_enable opencl) \ |
1024 |
$(use_enable scrypt) \ |
1025 |
--with-system-libblkmaker \ |
1026 |
$with_curses \ |
1027 |
$(use_with udev libudev) \ |
1028 |
$(use_with lm_sensors sensors) \ |
1029 |
$(use_with proxy_getwork libmicrohttpd) \ |
1030 |
$(use_with proxy_stratum libevent) \ |
1031 |
$(use_enable x6500) \ |
1032 |
$(use_enable ztex) |
1033 |
} |
1034 |
|
1035 |
src_install() { |
1036 |
emake install DESTDIR="$D" |
1037 |
if ! use examples; then |
1038 |
rm -r "${D}/usr/share/doc/${PF}/rpc-examples" |
1039 |
fi |
1040 |
} |
1041 |
|
1042 |
|
1043 |
|
1044 |
1.1 net-misc/bfgminer/bfgminer-3.2.3-r1.ebuild |
1045 |
|
1046 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.3-r1.ebuild?rev=1.1&view=markup |
1047 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.3-r1.ebuild?rev=1.1&content-type=text/plain |
1048 |
|
1049 |
Index: bfgminer-3.2.3-r1.ebuild |
1050 |
=================================================================== |
1051 |
# Copyright 1999-2013 Gentoo Foundation |
1052 |
# Distributed under the terms of the GNU General Public License v2 |
1053 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.3-r1.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ |
1054 |
|
1055 |
EAPI="4" |
1056 |
|
1057 |
inherit eutils |
1058 |
|
1059 |
DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" |
1060 |
HOMEPAGE="https://bitcointalk.org/?topic=168174" |
1061 |
SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" |
1062 |
|
1063 |
LICENSE="GPL-3" |
1064 |
SLOT="0" |
1065 |
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" |
1066 |
|
1067 |
IUSE="+adl avalon bitforce cpumining examples hardened icarus lm_sensors modminer ncurses +opencl proxy scrypt +udev unicode x6500 ztex" |
1068 |
REQUIRED_USE=" |
1069 |
|| ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) |
1070 |
adl? ( opencl ) |
1071 |
lm_sensors? ( opencl ) |
1072 |
scrypt? ( || ( cpumining opencl ) ) |
1073 |
unicode? ( ncurses ) |
1074 |
" |
1075 |
|
1076 |
DEPEND=" |
1077 |
net-misc/curl |
1078 |
ncurses? ( |
1079 |
sys-libs/ncurses[unicode?] |
1080 |
) |
1081 |
>=dev-libs/jansson-2 |
1082 |
net-libs/libblkmaker |
1083 |
udev? ( |
1084 |
virtual/udev |
1085 |
) |
1086 |
lm_sensors? ( |
1087 |
sys-apps/lm_sensors |
1088 |
) |
1089 |
proxy? ( |
1090 |
net-libs/libmicrohttpd |
1091 |
) |
1092 |
x6500? ( |
1093 |
virtual/libusb:1 |
1094 |
) |
1095 |
ztex? ( |
1096 |
virtual/libusb:1 |
1097 |
) |
1098 |
" |
1099 |
RDEPEND="${DEPEND} |
1100 |
opencl? ( |
1101 |
virtual/opencl |
1102 |
) |
1103 |
" |
1104 |
DEPEND="${DEPEND} |
1105 |
virtual/pkgconfig |
1106 |
>=dev-libs/uthash-1.9.2 |
1107 |
sys-apps/sed |
1108 |
cpumining? ( |
1109 |
amd64? ( |
1110 |
>=dev-lang/yasm-1.0.1 |
1111 |
) |
1112 |
x86? ( |
1113 |
>=dev-lang/yasm-1.0.1 |
1114 |
) |
1115 |
) |
1116 |
" |
1117 |
|
1118 |
src_configure() { |
1119 |
local CFLAGS="${CFLAGS}" |
1120 |
local with_curses |
1121 |
use hardened && CFLAGS="${CFLAGS} -nopie" |
1122 |
|
1123 |
if use ncurses; then |
1124 |
if use unicode; then |
1125 |
with_curses='--with-curses=ncursesw' |
1126 |
else |
1127 |
with_curses='--with-curses=ncurses' |
1128 |
fi |
1129 |
else |
1130 |
with_curses='--without-curses' |
1131 |
fi |
1132 |
|
1133 |
CFLAGS="${CFLAGS}" \ |
1134 |
econf \ |
1135 |
--docdir="/usr/share/doc/${PF}" \ |
1136 |
$(use_enable adl) \ |
1137 |
$(use_enable avalon) \ |
1138 |
$(use_enable bitforce) \ |
1139 |
$(use_enable cpumining) \ |
1140 |
$(use_enable icarus) \ |
1141 |
$(use_enable modminer) \ |
1142 |
$(use_enable opencl) \ |
1143 |
$(use_enable scrypt) \ |
1144 |
--with-system-libblkmaker \ |
1145 |
$with_curses \ |
1146 |
$(use_with udev libudev) \ |
1147 |
$(use_with lm_sensors sensors) \ |
1148 |
$(use_with proxy libmicrohttpd) \ |
1149 |
$(use_enable x6500) \ |
1150 |
$(use_enable ztex) |
1151 |
} |
1152 |
|
1153 |
src_install() { |
1154 |
emake install DESTDIR="$D" |
1155 |
if ! use examples; then |
1156 |
rm -r "${D}/usr/share/doc/${PF}/rpc-examples" |
1157 |
fi |
1158 |
} |
1159 |
|
1160 |
|
1161 |
|
1162 |
1.1 net-misc/bfgminer/bfgminer-3.2.4.ebuild |
1163 |
|
1164 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.4.ebuild?rev=1.1&view=markup |
1165 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.4.ebuild?rev=1.1&content-type=text/plain |
1166 |
|
1167 |
Index: bfgminer-3.2.4.ebuild |
1168 |
=================================================================== |
1169 |
# Copyright 1999-2013 Gentoo Foundation |
1170 |
# Distributed under the terms of the GNU General Public License v2 |
1171 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.2.4.ebuild,v 1.1 2013/11/07 17:49:02 blueness Exp $ |
1172 |
|
1173 |
EAPI="4" |
1174 |
|
1175 |
inherit eutils |
1176 |
|
1177 |
DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C" |
1178 |
HOMEPAGE="https://bitcointalk.org/?topic=168174" |
1179 |
SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" |
1180 |
|
1181 |
LICENSE="GPL-3" |
1182 |
SLOT="0" |
1183 |
KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" |
1184 |
|
1185 |
IUSE="+adl avalon bitforce cpumining examples hardened icarus lm_sensors modminer ncurses +opencl proxy scrypt +udev unicode x6500 ztex" |
1186 |
REQUIRED_USE=" |
1187 |
|| ( avalon bitforce cpumining icarus modminer opencl proxy x6500 ztex ) |
1188 |
adl? ( opencl ) |
1189 |
lm_sensors? ( opencl ) |
1190 |
scrypt? ( || ( cpumining opencl ) ) |
1191 |
unicode? ( ncurses ) |
1192 |
" |
1193 |
|
1194 |
DEPEND=" |
1195 |
net-misc/curl |
1196 |
ncurses? ( |
1197 |
sys-libs/ncurses[unicode?] |
1198 |
) |
1199 |
>=dev-libs/jansson-2 |
1200 |
net-libs/libblkmaker |
1201 |
udev? ( |
1202 |
virtual/udev |
1203 |
) |
1204 |
lm_sensors? ( |
1205 |
sys-apps/lm_sensors |
1206 |
) |
1207 |
proxy? ( |
1208 |
net-libs/libmicrohttpd |
1209 |
) |
1210 |
x6500? ( |
1211 |
virtual/libusb:1 |
1212 |
) |
1213 |
ztex? ( |
1214 |
virtual/libusb:1 |
1215 |
) |
1216 |
" |
1217 |
RDEPEND="${DEPEND} |
1218 |
opencl? ( |
1219 |
virtual/opencl |
1220 |
) |
1221 |
" |
1222 |
DEPEND="${DEPEND} |
1223 |
virtual/pkgconfig |
1224 |
>=dev-libs/uthash-1.9.2 |
1225 |
sys-apps/sed |
1226 |
cpumining? ( |
1227 |
amd64? ( |
1228 |
>=dev-lang/yasm-1.0.1 |
1229 |
) |
1230 |
x86? ( |
1231 |
>=dev-lang/yasm-1.0.1 |
1232 |
) |
1233 |
) |
1234 |
" |
1235 |
|
1236 |
src_configure() { |
1237 |
local CFLAGS="${CFLAGS}" |
1238 |
local with_curses |
1239 |
use hardened && CFLAGS="${CFLAGS} -nopie" |
1240 |
|
1241 |
if use ncurses; then |
1242 |
if use unicode; then |
1243 |
with_curses='--with-curses=ncursesw' |
1244 |
else |
1245 |
with_curses='--with-curses=ncurses' |
1246 |
fi |
1247 |
else |
1248 |
with_curses='--without-curses' |
1249 |
fi |
1250 |
|
1251 |
CFLAGS="${CFLAGS}" \ |
1252 |
econf \ |
1253 |
--docdir="/usr/share/doc/${PF}" \ |
1254 |
$(use_enable adl) \ |
1255 |
$(use_enable avalon) \ |
1256 |
$(use_enable bitforce) \ |
1257 |
$(use_enable cpumining) \ |
1258 |
$(use_enable icarus) \ |
1259 |
$(use_enable modminer) \ |
1260 |
$(use_enable opencl) \ |
1261 |
$(use_enable scrypt) \ |
1262 |
--with-system-libblkmaker \ |
1263 |
$with_curses \ |
1264 |
$(use_with udev libudev) \ |
1265 |
$(use_with lm_sensors sensors) \ |
1266 |
$(use_with proxy libmicrohttpd) \ |
1267 |
$(use_enable x6500) \ |
1268 |
$(use_enable ztex) |
1269 |
} |
1270 |
|
1271 |
src_install() { |
1272 |
emake install DESTDIR="$D" |
1273 |
if ! use examples; then |
1274 |
rm -r "${D}/usr/share/doc/${PF}/rpc-examples" |
1275 |
fi |
1276 |
} |