summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-11-16 15:51:05 +0000
committerAnthony G. Basile <blueness@gentoo.org>2013-11-16 15:51:05 +0000
commit209045052e99d9dcd3080a57296573c84d783f78 (patch)
treea24df47363f7d74b2d521930fb5b9d99d42a4322 /net-misc/cgminer
parentVersion bump to 3.1.1, added sqlite dependency and other minor changes; fixes... (diff)
downloadgentoo-2-209045052e99d9dcd3080a57296573c84d783f78.tar.gz
gentoo-2-209045052e99d9dcd3080a57296573c84d783f78.tar.bz2
gentoo-2-209045052e99d9dcd3080a57296573c84d783f78.zip
Version bump
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'net-misc/cgminer')
-rw-r--r--net-misc/cgminer/ChangeLog8
-rw-r--r--net-misc/cgminer/cgminer-3.8.1.ebuild6
-rw-r--r--net-misc/cgminer/cgminer-3.8.2.ebuild69
3 files changed, 79 insertions, 4 deletions
diff --git a/net-misc/cgminer/ChangeLog b/net-misc/cgminer/ChangeLog
index ace055f2a37f..581e32d6d643 100644
--- a/net-misc/cgminer/ChangeLog
+++ b/net-misc/cgminer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/cgminer
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.50 2013/11/13 20:03:08 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/ChangeLog,v 1.51 2013/11/16 15:51:05 blueness Exp $
+
+*cgminer-3.8.2 (16 Nov 2013)
+
+ 16 Nov 2013; Anthony G. Basile <blueness@gentoo.org> +cgminer-3.8.2.ebuild,
+ cgminer-3.8.1.ebuild:
+ Version bump
13 Nov 2013; Anthony G. Basile <blueness@gentoo.org> cgminer-3.8.1.ebuild:
Remove ADL_SDK, bug #491026 comment 9
diff --git a/net-misc/cgminer/cgminer-3.8.1.ebuild b/net-misc/cgminer/cgminer-3.8.1.ebuild
index a2e93b4491a0..639e0248751b 100644
--- a/net-misc/cgminer/cgminer-3.8.1.ebuild
+++ b/net-misc/cgminer/cgminer-3.8.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-3.8.1.ebuild,v 1.3 2013/11/13 20:03:08 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-3.8.1.ebuild,v 1.4 2013/11/16 15:51:05 blueness Exp $
EAPI=5
@@ -8,8 +8,8 @@ inherit autotools flag-o-matic
DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C"
HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 http://github.com/ckolivas/cgminer"
-SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"
-#SRC_URI="http://ck.kolivas.org/apps/cgminer/3.8/${P}.tar.bz2"
+#SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"
+SRC_URI="http://ck.kolivas.org/apps/cgminer/3.8/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
diff --git a/net-misc/cgminer/cgminer-3.8.2.ebuild b/net-misc/cgminer/cgminer-3.8.2.ebuild
new file mode 100644
index 000000000000..699310880307
--- /dev/null
+++ b/net-misc/cgminer/cgminer-3.8.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-3.8.2.ebuild,v 1.1 2013/11/16 15:51:05 blueness Exp $
+
+EAPI=5
+
+inherit autotools flag-o-matic
+
+DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C"
+HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 http://github.com/ckolivas/cgminer"
+SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2"
+#SRC_URI="http://ck.kolivas.org/apps/cgminer/3.8/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc examples hardened ncurses
+ avalon bflsc bitforce bitfury icarus klondike modminer"
+
+REQUIRED_USE="|| ( avalon bflsc bitforce bitfury icarus klondike modminer )"
+
+DEPEND="net-misc/curl
+ dev-libs/jansson
+ ncurses? ( sys-libs/ncurses )
+ avalon? ( virtual/libusb:1 )
+ bflsc? ( virtual/libusb:1 )
+ bitforce? ( virtual/libusb:1 )
+ bitfury? ( virtual/libusb:1 )
+ icarus? ( virtual/libusb:1 )
+ modminer? ( virtual/libusb:1 )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ use hardened && append-cflags "-nopie"
+
+ econf $(use_with ncurses curses) \
+ $(use_enable avalon) \
+ $(use_enable bflsc) \
+ $(use_enable bitforce) \
+ $(use_enable bitfury) \
+ $(use_enable icarus) \
+ $(use_enable klondike) \
+ $(use_enable modminer)
+ # sanitize directories (is this still needed?)
+ sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/cgminer"'"~' config.h
+}
+
+src_install() { # How about using some make install?
+ dobin cgminer
+ if use doc; then
+ dodoc AUTHORS NEWS README API-README
+ use icarus || use bitforce || use modminer && dodoc FPGA-README
+ use avalon || use bflsc && dodoc ASIC-README
+ fi
+
+ if use modminer; then
+ insinto /usr/lib/cgminer/modminer
+ doins bitstreams/*.ncd
+ dodoc bitstreams/COPYING_fpgaminer
+ fi
+ if use examples; then
+ docinto examples
+ dodoc api-example.php miner.php API.java api-example.c example.conf
+ fi
+}