Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/cgminer: cgminer-3.5.0.ebuild cgminer-3.4.3.ebuild ChangeLog
Date: Tue, 01 Oct 2013 16:48:31
Message-Id: 20131001164826.1632F2004C@flycatcher.gentoo.org
1 blueness 13/10/01 16:48:26
2
3 Modified: cgminer-3.4.3.ebuild ChangeLog
4 Added: cgminer-3.5.0.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.2 net-misc/cgminer/cgminer-3.4.3.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-3.4.3.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-3.4.3.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-3.4.3.ebuild?r1=1.1&r2=1.2
16
17 Index: cgminer-3.4.3.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-3.4.3.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- cgminer-3.4.3.ebuild 14 Sep 2013 11:27:07 -0000 1.1
24 +++ cgminer-3.4.3.ebuild 1 Oct 2013 16:48:25 -0000 1.2
25 @@ -1,6 +1,6 @@
26 # Copyright 1999-2013 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-3.4.3.ebuild,v 1.1 2013/09/14 11:27:07 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-3.4.3.ebuild,v 1.2 2013/10/01 16:48:25 blueness Exp $
30
31 EAPI=5
32
33 @@ -8,8 +8,8 @@
34
35 DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C"
36 HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 http://github.com/ckolivas/cgminer"
37 -SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"
38 -#SRC_URI="https://github.com/ckolivas/cgminer/archive/v${PV}.tar.gz"
39 +#SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"
40 +SRC_URI="https://github.com/ckolivas/cgminer/archive/v${PV}.tar.gz"
41
42 LICENSE="GPL-3"
43 SLOT="0"
44
45
46
47 1.42 net-misc/cgminer/ChangeLog
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.42&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.42&content-type=text/plain
51 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?r1=1.41&r2=1.42
52
53 Index: ChangeLog
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v
56 retrieving revision 1.41
57 retrieving revision 1.42
58 diff -u -r1.41 -r1.42
59 --- ChangeLog 14 Sep 2013 11:27:07 -0000 1.41
60 +++ ChangeLog 1 Oct 2013 16:48:25 -0000 1.42
61 @@ -1,6 +1,12 @@
62 # ChangeLog for net-misc/cgminer
63 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
64 -# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.41 2013/09/14 11:27:07 blueness Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.42 2013/10/01 16:48:25 blueness Exp $
66 +
67 +*cgminer-3.5.0 (01 Oct 2013)
68 +
69 + 01 Oct 2013; Anthony G. Basile <blueness@g.o> +cgminer-3.5.0.ebuild,
70 + cgminer-3.4.3.ebuild:
71 + Version bump
72
73 *cgminer-3.4.3 (14 Sep 2013)
74
75
76
77
78 1.1 net-misc/cgminer/cgminer-3.5.0.ebuild
79
80 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-3.5.0.ebuild?rev=1.1&view=markup
81 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-3.5.0.ebuild?rev=1.1&content-type=text/plain
82
83 Index: cgminer-3.5.0.ebuild
84 ===================================================================
85 # Copyright 1999-2013 Gentoo Foundation
86 # Distributed under the terms of the GNU General Public License v2
87 # $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-3.5.0.ebuild,v 1.1 2013/10/01 16:48:25 blueness Exp $
88
89 EAPI=5
90
91 inherit autotools flag-o-matic
92
93 DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C"
94 HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 http://github.com/ckolivas/cgminer"
95 SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"
96 #SRC_URI="https://github.com/ckolivas/cgminer/archive/v${PV}.tar.gz"
97
98 LICENSE="GPL-3"
99 SLOT="0"
100 KEYWORDS="~amd64 ~x86"
101 IUSE="doc examples hardened ncurses opencl adl scrypt
102 avalon bflsc bitforce icarus modminer ztex"
103
104 REQUIRED_USE="|| ( opencl avalon bflsc bitforce icarus modminer ztex )
105 adl? ( opencl )
106 scrypt? ( opencl )"
107
108 DEPEND="net-misc/curl
109 dev-libs/jansson
110 adl? ( x11-libs/amd-adl-sdk )
111 ncurses? ( sys-libs/ncurses )
112 opencl? ( virtual/opencl )
113 avalon? ( virtual/libusb:1 )
114 bflsc? ( virtual/libusb:1 )
115 bitforce? ( virtual/libusb:1 )
116 icarus? ( virtual/libusb:1 )
117 modminer? ( virtual/libusb:1 )
118 ztex? ( virtual/libusb:1 )"
119 RDEPEND="${DEPEND}"
120
121 src_prepare() {
122 ln -s /usr/include/ADL/* ADL_SDK/
123 eautoreconf
124 }
125
126 src_configure() {
127 use hardened && append-cflags "-nopie"
128
129 econf $(use_with ncurses curses) \
130 $(use_enable opencl) \
131 $(use_enable adl) \
132 $(use_enable scrypt) \
133 $(use_enable avalon) \
134 $(use_enable bflsc) \
135 $(use_enable bitforce) \
136 $(use_enable icarus) \
137 $(use_enable modminer) \
138 $(use_enable ztex)
139 # sanitize directories (is this still needed?)
140 sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h
141 }
142
143 src_install() { # How about using some make install?
144 dobin cgminer
145 if use doc; then
146 dodoc AUTHORS NEWS README API-README
147 use opencl && dodoc GPU-README
148 use scrypt && dodoc SCRYPT-README
149 use icarus || use bitforce || use ztex || use modminer && dodoc FPGA-README
150 use avalon || use bflsc && dodoc ASIC-README
151 fi
152
153 if use modminer; then
154 insinto /usr/lib/cgminer/modminer
155 doins bitstreams/*.ncd
156 dodoc bitstreams/COPYING_fpgaminer
157 fi
158 if use opencl; then
159 insinto /usr/lib/cgminer
160 doins *.cl
161 fi
162 if use ztex; then
163 insinto /usr/lib/cgminer/ztex
164 doins bitstreams/*.bit
165 dodoc bitstreams/COPYING_ztex
166 fi
167 if use examples; then
168 docinto examples
169 dodoc api-example.php miner.php API.java api-example.c example.conf
170 fi
171 }