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-4.8.0.ebuild ChangeLog |
Date: | Wed, 26 Nov 2014 20:38:53 |
Message-Id: | 20141126203848.9258BAF8B@oystercatcher.gentoo.org |
1 | blueness 14/11/26 20:38:48 |
2 | |
3 | Modified: ChangeLog |
4 | Added: cgminer-4.8.0.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 | |
10 | Revision Changes Path |
11 | 1.82 net-misc/cgminer/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.82&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?rev=1.82&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/ChangeLog?r1=1.81&r2=1.82 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v |
20 | retrieving revision 1.81 |
21 | retrieving revision 1.82 |
22 | diff -u -r1.81 -r1.82 |
23 | --- ChangeLog 15 Oct 2014 23:40:37 -0000 1.81 |
24 | +++ ChangeLog 26 Nov 2014 20:38:48 -0000 1.82 |
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.81 2014/10/15 23:40:37 blueness Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.82 2014/11/26 20:38:48 blueness Exp $ |
30 | + |
31 | +*cgminer-4.8.0 (26 Nov 2014) |
32 | + |
33 | + 26 Nov 2014; Anthony G. Basile <blueness@g.o> +cgminer-4.8.0.ebuild: |
34 | + Version bump |
35 | |
36 | *cgminer-4.7.0 (15 Oct 2014) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 net-misc/cgminer/cgminer-4.8.0.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.8.0.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/cgminer/cgminer-4.8.0.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: cgminer-4.8.0.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-4.8.0.ebuild,v 1.1 2014/11/26 20:38:48 blueness Exp $ |
51 | |
52 | EAPI=5 |
53 | |
54 | inherit autotools eutils 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/4.5/${P}.tar.bz2" |
60 | |
61 | LICENSE="GPL-3" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~arm ~x86" |
64 | |
65 | HARDWARE="ants1 ants2 avalon avalon2 bab bitmine_A1 bflsc bitforce bitfury cointerra drillbit hashfast hashratio icarus klondike knc minion modminer spondoolies" |
66 | IUSE="doc examples udev hardened ncurses ${HARDWARE}" |
67 | |
68 | REQUIRED_USE="|| ( ${HARDWARE} )" |
69 | |
70 | RDEPEND="net-misc/curl |
71 | >=dev-libs/jansson-2.6 |
72 | ncurses? ( sys-libs/ncurses ) |
73 | avalon? ( virtual/libusb:1[udev] ) |
74 | bflsc? ( virtual/libusb:1[udev] ) |
75 | bitforce? ( virtual/libusb:1[udev] ) |
76 | bitfury? ( virtual/libusb:1[udev] ) |
77 | cointerra? ( virtual/libusb:1[udev] ) |
78 | drillbit? ( virtual/libusb:1[udev] ) |
79 | hashfast? ( virtual/libusb:1[udev] ) |
80 | hashratio? ( virtual/libusb:1[udev] ) |
81 | icarus? ( virtual/libusb:1[udev] ) |
82 | klondike? ( virtual/libusb:1[udev] ) |
83 | modminer? ( virtual/libusb:1[udev] ) |
84 | spondoolies? ( virtual/libusb:1[udev] ) |
85 | udev? ( virtual/libudev )" |
86 | DEPEND="virtual/pkgconfig |
87 | ${RDEPEND}" |
88 | |
89 | src_prepare() { |
90 | epatch "${FILESDIR}"/${PN}-4.4.2-system-jansson.patch |
91 | eautoreconf |
92 | } |
93 | |
94 | src_configure() { |
95 | use hardened && append-cflags "-nopie" |
96 | |
97 | econf $(use_with ncurses curses) \ |
98 | $(use_enable ants1) \ |
99 | $(use_enable ants2) \ |
100 | $(use_enable avalon) \ |
101 | $(use_enable avalon2) \ |
102 | $(use_enable bab) \ |
103 | $(use_enable bitmine_A1) \ |
104 | $(use_enable bflsc) \ |
105 | $(use_enable bitforce) \ |
106 | $(use_enable bitfury) \ |
107 | $(use_enable cointerra) \ |
108 | $(use_enable drillbit) \ |
109 | $(use_enable hashfast) \ |
110 | $(use_enable hashratio) \ |
111 | $(use_enable icarus) \ |
112 | $(use_enable klondike) \ |
113 | $(use_enable knc) \ |
114 | $(use_enable minion) \ |
115 | $(use_enable modminer) \ |
116 | $(use_enable spondoolies) \ |
117 | $(use_enable udev) \ |
118 | --disable-forcecombo \ |
119 | --with-system-libusb |
120 | # sanitize directories (is this still needed?) |
121 | sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h |
122 | } |
123 | |
124 | src_install() { # How about using some make install? |
125 | dobin cgminer |
126 | |
127 | if use udev; then |
128 | insinto /lib/udev/rules.d |
129 | use udev && doins 01-cgminer.rules |
130 | fi |
131 | |
132 | if use doc; then |
133 | dodoc AUTHORS NEWS README API-README |
134 | use icarus || use bitforce || use modminer && dodoc FPGA-README |
135 | use avalon || use bflsc && dodoc ASIC-README |
136 | fi |
137 | |
138 | if use examples; then |
139 | docinto examples |
140 | dodoc api-example.php miner.php API.java api-example.c example.conf |
141 | fi |
142 | } |