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.12.1.ebuild ChangeLog |
Date: | Fri, 07 Feb 2014 12:49:19 |
Message-Id: | 20140207124915.D01A52004C@flycatcher.gentoo.org |
1 | blueness 14/02/07 12:49:15 |
2 | |
3 | Modified: ChangeLog |
4 | Added: cgminer-3.12.1.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 | |
10 | Revision Changes Path |
11 | 1.60 net-misc/cgminer/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.60&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.60&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?r1=1.59&r2=1.60 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v |
20 | retrieving revision 1.59 |
21 | retrieving revision 1.60 |
22 | diff -u -r1.59 -r1.60 |
23 | --- ChangeLog 31 Jan 2014 12:41:43 -0000 1.59 |
24 | +++ ChangeLog 7 Feb 2014 12:49:15 -0000 1.60 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for net-misc/cgminer |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.59 2014/01/31 12:41:43 blueness Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.60 2014/02/07 12:49:15 blueness Exp $ |
30 | + |
31 | +*cgminer-3.12.1 (07 Feb 2014) |
32 | + |
33 | + 07 Feb 2014; Anthony G. Basile <blueness@g.o> +cgminer-3.12.1.ebuild: |
34 | + Version bump |
35 | |
36 | *cgminer-3.12.0 (31 Jan 2014) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 net-misc/cgminer/cgminer-3.12.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-3.12.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-3.12.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: cgminer-3.12.1.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2014 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-3.12.1.ebuild,v 1.1 2014/02/07 12:49:15 blueness Exp $ |
51 | |
52 | EAPI=5 |
53 | |
54 | inherit autotools flag-o-matic |
55 | |
56 | DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C" |
57 | HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 http://github.com/ckolivas/cgminer" |
58 | SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2" |
59 | #SRC_URI="http://ck.kolivas.org/apps/cgminer/3.10/${P}.tar.bz2" |
60 | |
61 | LICENSE="GPL-3" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~arm ~x86" |
64 | IUSE="doc examples udev hardened ncurses |
65 | avalon bflsc bitforce bitfury drillbit icarus klondike minion modminer" |
66 | |
67 | REQUIRED_USE="|| ( avalon bflsc bitforce bitfury drillbit icarus klondike minion modminer )" |
68 | |
69 | RDEPEND="net-misc/curl |
70 | dev-libs/jansson |
71 | ncurses? ( sys-libs/ncurses ) |
72 | avalon? ( virtual/libusb:1 ) |
73 | bflsc? ( virtual/libusb:1 ) |
74 | bitforce? ( virtual/libusb:1 ) |
75 | bitfury? ( virtual/libusb:1 ) |
76 | icarus? ( virtual/libusb:1 ) |
77 | modminer? ( virtual/libusb:1 )" |
78 | DEPEND="virtual/pkgconfig |
79 | ${RDEPEND}" |
80 | |
81 | src_prepare() { |
82 | eautoreconf |
83 | } |
84 | |
85 | src_configure() { |
86 | use hardened && append-cflags "-nopie" |
87 | |
88 | econf $(use_with ncurses curses) \ |
89 | $(use_enable avalon) \ |
90 | $(use_enable bflsc) \ |
91 | $(use_enable bitforce) \ |
92 | $(use_enable bitfury) \ |
93 | $(use_enable drillbit) \ |
94 | $(use_enable icarus) \ |
95 | $(use_enable klondike) \ |
96 | $(use_enable minion) \ |
97 | $(use_enable modminer) |
98 | # sanitize directories (is this still needed?) |
99 | sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h |
100 | } |
101 | |
102 | src_install() { # How about using some make install? |
103 | dobin cgminer |
104 | insinto /lib/udev/rules.d |
105 | use udev && doins 01-cgminer.rules |
106 | if use doc; then |
107 | dodoc AUTHORS NEWS README API-README |
108 | use icarus || use bitforce || use modminer && dodoc FPGA-README |
109 | use avalon || use bflsc && dodoc ASIC-README |
110 | fi |
111 | |
112 | if use modminer; then |
113 | insinto /usr/lib/cgminer/modminer |
114 | doins bitstreams/*.ncd |
115 | dodoc bitstreams/COPYING_fpgaminer |
116 | fi |
117 | if use examples; then |
118 | docinto examples |
119 | dodoc api-example.php miner.php API.java api-example.c example.conf |
120 | fi |
121 | } |