1 |
blueness 12/07/06 18:13:45 |
2 |
|
3 |
Modified: cgminer-2.4.3-r1.ebuild ChangeLog |
4 |
Added: cgminer-2.4.4.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.1.10.65/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 net-misc/cgminer/cgminer-2.4.3-r1.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-2.4.3-r1.ebuild?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-2.4.3-r1.ebuild?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-2.4.3-r1.ebuild?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: cgminer-2.4.3-r1.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.4.3-r1.ebuild,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- cgminer-2.4.3-r1.ebuild 26 Jun 2012 02:07:13 -0000 1.1 |
24 |
+++ cgminer-2.4.3-r1.ebuild 6 Jul 2012 18:13:45 -0000 1.2 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2012 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.4.3-r1.ebuild,v 1.1 2012/06/26 02:07:13 blueness Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.4.3-r1.ebuild,v 1.2 2012/07/06 18:13:45 blueness Exp $ |
30 |
|
31 |
EAPI="4" |
32 |
|
33 |
@@ -11,7 +11,7 @@ |
34 |
|
35 |
DESCRIPTION="Bitcoin CPU/GPU/FPGA miner in C" |
36 |
HOMEPAGE="https://bitcointalk.org/index.php?topic=28402.0" |
37 |
-SRC_URI="http://ck.kolivas.org/apps/${PN}/${PN}-${MY_PV}.tar.bz2" |
38 |
+SRC_URI="http://ck.kolivas.org/apps/${PN}/${PN}-2.4/${PN}-${MY_PV}.tar.bz2" |
39 |
|
40 |
LICENSE="GPL-3" |
41 |
SLOT="0" |
42 |
|
43 |
|
44 |
|
45 |
1.23 net-misc/cgminer/ChangeLog |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.23&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.23&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?r1=1.22&r2=1.23 |
50 |
|
51 |
Index: ChangeLog |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v |
54 |
retrieving revision 1.22 |
55 |
retrieving revision 1.23 |
56 |
diff -u -r1.22 -r1.23 |
57 |
--- ChangeLog 26 Jun 2012 02:07:13 -0000 1.22 |
58 |
+++ ChangeLog 6 Jul 2012 18:13:45 -0000 1.23 |
59 |
@@ -1,5 +1,11 @@ |
60 |
|
61 |
|
62 |
+*cgminer-2.4.4 (06 Jul 2012) |
63 |
+ |
64 |
+ 06 Jul 2012; Anthony G. Basile <blueness@g.o> cgminer-2.4.3-r1.ebuild, |
65 |
+ +cgminer-2.4.4.ebuild: |
66 |
+ Version bump |
67 |
+ |
68 |
*cgminer-2.4.3-r1 (26 Jun 2012) |
69 |
|
70 |
26 Jun 2012; Anthony G. Basile <blueness@g.o> |
71 |
|
72 |
|
73 |
|
74 |
1.1 net-misc/cgminer/cgminer-2.4.4.ebuild |
75 |
|
76 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-2.4.4.ebuild?rev=1.1&view=markup |
77 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-2.4.4.ebuild?rev=1.1&content-type=text/plain |
78 |
|
79 |
Index: cgminer-2.4.4.ebuild |
80 |
=================================================================== |
81 |
# Copyright 1999-2012 Gentoo Foundation |
82 |
# Distributed under the terms of the GNU General Public License v2 |
83 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.4.4.ebuild,v 1.1 2012/07/06 18:13:45 blueness Exp $ |
84 |
|
85 |
EAPI="4" |
86 |
|
87 |
inherit versionator |
88 |
|
89 |
MY_PV="$(replace_version_separator 3 -)" |
90 |
S="${WORKDIR}/${PN}-${MY_PV}" |
91 |
|
92 |
DESCRIPTION="Bitcoin CPU/GPU/FPGA miner in C" |
93 |
HOMEPAGE="https://bitcointalk.org/index.php?topic=28402.0" |
94 |
SRC_URI="http://ck.kolivas.org/apps/${PN}/${PN}-2.4/${PN}-${MY_PV}.tar.bz2" |
95 |
|
96 |
LICENSE="GPL-3" |
97 |
SLOT="0" |
98 |
KEYWORDS="~x86 ~amd64" |
99 |
|
100 |
IUSE="+adl altivec bitforce +cpumining examples hardened icarus modminer ncurses +opencl padlock sse2 sse2_4way sse4 +udev ztex" |
101 |
REQUIRED_USE=" |
102 |
|| ( bitforce cpumining icarus modminer opencl ztex ) |
103 |
adl? ( opencl ) |
104 |
altivec? ( cpumining ppc ppc64 ) |
105 |
opencl? ( ncurses ) |
106 |
padlock? ( cpumining || ( amd64 x86 ) ) |
107 |
sse2? ( cpumining || ( amd64 x86 ) ) |
108 |
sse4? ( cpumining amd64 ) |
109 |
" |
110 |
|
111 |
DEPEND=" |
112 |
net-misc/curl |
113 |
ncurses? ( |
114 |
sys-libs/ncurses |
115 |
) |
116 |
dev-libs/jansson |
117 |
opencl? ( |
118 |
virtual/opencl |
119 |
) |
120 |
udev? ( |
121 |
sys-fs/udev |
122 |
) |
123 |
ztex? ( |
124 |
virtual/libusb:1 |
125 |
) |
126 |
" |
127 |
RDEPEND="${DEPEND}" |
128 |
DEPEND="${DEPEND} |
129 |
virtual/pkgconfig |
130 |
sys-apps/sed |
131 |
adl? ( |
132 |
x11-libs/amd-adl-sdk |
133 |
) |
134 |
sse2? ( |
135 |
>=dev-lang/yasm-1.0.1 |
136 |
) |
137 |
sse4? ( |
138 |
>=dev-lang/yasm-1.0.1 |
139 |
) |
140 |
" |
141 |
|
142 |
src_prepare() { |
143 |
sed -i 's/\(^\#define WANT_.*\(SSE\|PADLOCK\|ALTIVEC\)\)/\/\/ \1/' miner.h |
144 |
ln -s /usr/include/ADL/* ADL_SDK/ |
145 |
} |
146 |
|
147 |
src_configure() { |
148 |
local CFLAGS="${CFLAGS}" |
149 |
if ! use altivec; then |
150 |
sed -i 's/-faltivec//g' configure |
151 |
else |
152 |
CFLAGS="${CFLAGS} -DWANT_ALTIVEC=1" |
153 |
fi |
154 |
use padlock && CFLAGS="${CFLAGS} -DWANT_VIA_PADLOCK=1" |
155 |
if use sse2; then |
156 |
if use amd64; then |
157 |
CFLAGS="${CFLAGS} -DWANT_X8664_SSE2=1" |
158 |
else |
159 |
CFLAGS="${CFLAGS} -DWANT_X8632_SSE2=1" |
160 |
fi |
161 |
fi |
162 |
use sse2_4way && CFLAGS="${CFLAGS} -DWANT_SSE2_4WAY=1" |
163 |
use sse4 && CFLAGS="${CFLAGS} -DWANT_X8664_SSE4=1" |
164 |
use hardened && CFLAGS="${CFLAGS} -nopie" |
165 |
|
166 |
CFLAGS="${CFLAGS}" \ |
167 |
econf \ |
168 |
$(use_enable adl) \ |
169 |
$(use_enable bitforce) \ |
170 |
$(use_enable cpumining) \ |
171 |
$(use_enable icarus) \ |
172 |
$(use_enable modminer) \ |
173 |
$(use_with ncurses curses) \ |
174 |
$(use_enable opencl) \ |
175 |
$(use_with udev libudev) \ |
176 |
$(use_enable ztex) |
177 |
# sanitize directories |
178 |
sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h |
179 |
} |
180 |
|
181 |
src_install() { |
182 |
dobin cgminer |
183 |
dodoc AUTHORS NEWS README API-README |
184 |
if use icarus; then |
185 |
dodoc FPGA-README |
186 |
fi |
187 |
if use modminer; then |
188 |
insinto /usr/lib/cgminer/modminer |
189 |
doins bitstreams/*.ncd |
190 |
dodoc bitstreams/COPYING_fpgaminer |
191 |
fi |
192 |
if use opencl; then |
193 |
insinto /usr/lib/cgminer |
194 |
doins *.cl |
195 |
fi |
196 |
if use ztex; then |
197 |
insinto /usr/lib/cgminer/ztex |
198 |
doins bitstreams/*.bit |
199 |
dodoc bitstreams/COPYING_ztex |
200 |
fi |
201 |
if use examples; then |
202 |
docinto examples |
203 |
dodoc api-example.php miner.php API.java api-example.c |
204 |
fi |
205 |
} |