| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/Attic/bfgminer-2.5.3.ebuild,v 1.1 2012/07/31 01:57:54 blueness Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/Attic/bfgminer-2.5.3.ebuild,v 1.2 2012/08/06 16:02:58 blueness Exp $ |
| 4 | |
4 | |
| 5 | EAPI=4 |
5 | EAPI="4" |
| 6 | |
6 | |
| 7 | inherit eutils |
7 | inherit eutils |
| 8 | |
8 | |
| 9 | DESCRIPTION="Modular Bitcoin CPU/GPU/FPGA miner in C" |
9 | DESCRIPTION="Modular Bitcoin CPU/GPU/FPGA miner in C" |
| 10 | HOMEPAGE="https://bitcointalk.org/index.php?topic=78192.0" |
10 | HOMEPAGE="https://bitcointalk.org/index.php?topic=78192.0" |
| … | |
… | |
| 13 | LICENSE="GPL-3" |
13 | LICENSE="GPL-3" |
| 14 | SLOT="0" |
14 | SLOT="0" |
| 15 | KEYWORDS="~x86 ~amd64" |
15 | KEYWORDS="~x86 ~amd64" |
| 16 | |
16 | |
| 17 | IUSE="+adl altivec bitforce +cpumining examples hardened icarus modminer ncurses +opencl padlock sse2 sse2_4way sse4 +udev ztex" |
17 | IUSE="+adl altivec bitforce +cpumining examples hardened icarus modminer ncurses +opencl padlock sse2 sse2_4way sse4 +udev ztex" |
| 18 | REQUIRED_USE=' |
18 | REQUIRED_USE=" |
| 19 | || ( bitforce cpumining icarus modminer opencl ztex ) |
19 | || ( bitforce cpumining icarus modminer opencl ztex ) |
| 20 | adl? ( opencl ) |
20 | adl? ( opencl ) |
| 21 | altivec? ( cpumining ppc ppc64 ) |
21 | altivec? ( cpumining ppc ppc64 ) |
| 22 | padlock? ( cpumining || ( amd64 x86 ) ) |
22 | padlock? ( cpumining || ( amd64 x86 ) ) |
| 23 | sse2? ( cpumining || ( amd64 x86 ) ) |
23 | sse2? ( cpumining || ( amd64 x86 ) ) |
| 24 | sse4? ( cpumining amd64 ) |
24 | sse4? ( cpumining amd64 ) |
| 25 | ' |
25 | " |
| 26 | |
26 | |
| 27 | DEPEND=' |
27 | DEPEND=" |
| 28 | net-misc/curl |
28 | net-misc/curl |
| 29 | ncurses? ( |
29 | ncurses? ( |
| 30 | sys-libs/ncurses |
30 | sys-libs/ncurses |
| 31 | ) |
31 | ) |
| 32 | dev-libs/jansson |
32 | dev-libs/jansson |
| … | |
… | |
| 34 | sys-fs/udev |
34 | sys-fs/udev |
| 35 | ) |
35 | ) |
| 36 | ztex? ( |
36 | ztex? ( |
| 37 | virtual/libusb:1 |
37 | virtual/libusb:1 |
| 38 | ) |
38 | ) |
| 39 | ' |
39 | " |
| 40 | RDEPEND="${DEPEND}" |
40 | RDEPEND="${DEPEND}" |
| 41 | DEPEND="${DEPEND} |
41 | DEPEND="${DEPEND} |
| 42 | virtual/pkgconfig |
42 | virtual/pkgconfig |
| 43 | sys-apps/sed |
43 | sys-apps/sed |
| 44 | adl? ( |
44 | adl? ( |
| 45 | x11-libs/amd-adl-sdk |
45 | x11-libs/amd-adl-sdk |
| 46 | ) |
46 | ) |
| 47 | opencl? ( |
47 | opencl? ( |
| 48 | || ( |
|
|
| 49 | virtual/opencl |
48 | virtual/opencl |
| 50 | virtual/opencl-sdk |
|
|
| 51 | app-admin/eselect-opencl |
|
|
| 52 | dev-util/ati-stream-sdk |
|
|
| 53 | dev-util/ati-stream-sdk-bin |
|
|
| 54 | dev-util/amdstream |
|
|
| 55 | dev-util/amd-app-sdk |
|
|
| 56 | dev-util/amd-app-sdk-bin |
|
|
| 57 | dev-util/nvidia-cuda-sdk[opencl] |
|
|
| 58 | dev-util/intel-opencl-sdk |
|
|
| 59 | ) |
|
|
| 60 | ) |
49 | ) |
| 61 | sse2? ( |
50 | sse2? ( |
| 62 | >=dev-lang/yasm-1.0.1 |
51 | >=dev-lang/yasm-1.0.1 |
| 63 | ) |
52 | ) |
| 64 | sse4? ( |
53 | sse4? ( |