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