diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-05-05 15:24:50 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-05-05 15:24:50 +0000 |
commit | e65c618e4946787ead2d5fb07fccaf4973c9a1a6 (patch) | |
tree | 75ea6b8ac3c7f29f46a60a2c8a564e7693d3d8fe /net-misc/bfgminer | |
parent | Add QA_FLAGS_IGNORED. #405639 (diff) | |
download | historical-e65c618e4946787ead2d5fb07fccaf4973c9a1a6.tar.gz historical-e65c618e4946787ead2d5fb07fccaf4973c9a1a6.tar.bz2 historical-e65c618e4946787ead2d5fb07fccaf4973c9a1a6.zip |
Version bump
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'net-misc/bfgminer')
-rw-r--r-- | net-misc/bfgminer/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/bfgminer/Manifest | 14 | ||||
-rw-r--r-- | net-misc/bfgminer/bfgminer-2.4.0.ebuild | 116 |
3 files changed, 135 insertions, 2 deletions
diff --git a/net-misc/bfgminer/ChangeLog b/net-misc/bfgminer/ChangeLog index d740c63389a5..106e9fd9f297 100644 --- a/net-misc/bfgminer/ChangeLog +++ b/net-misc/bfgminer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/bfgminer # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.5 2012/05/05 03:20:40 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.6 2012/05/05 15:24:50 blueness Exp $ + +*bfgminer-2.4.0 (05 May 2012) + + 05 May 2012; Anthony G. Basile <blueness@gentoo.org> +bfgminer-2.4.0.ebuild: + Version bump 05 May 2012; Jeff Horelick <jdhore@gentoo.org> bfgminer-2.3.4.ebuild, bfgminer-2.3.5.ebuild, bfgminer-2.3.6.ebuild: diff --git a/net-misc/bfgminer/Manifest b/net-misc/bfgminer/Manifest index 2691611f37d1..c6ba782c708a 100644 --- a/net-misc/bfgminer/Manifest +++ b/net-misc/bfgminer/Manifest @@ -1,9 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX Bugfix-Fix-building-without-OpenCL-support.patch 730 RMD160 e61a653336e5661019f77d2d21cba2dd57f71d0f SHA1 e0592ccb5880c50d328d08aca9fcee8830080252 SHA256 4b6d2c1e1b013215f325fe673bde0b161bd8eaea89e721a129cad8e051d6a054 DIST bfgminer-2.3.4.tbz2 2843960 RMD160 a2f8ee3c1c71178b99d7b50cb9b83fdc5a0ada36 SHA1 a473a4b806346b1339862649181e8ea283a67fbc SHA256 55455b2942ba099fbc01e8145099d6d8fca7265a3b65bb12cd60443a5f197e0d DIST bfgminer-2.3.5.tbz2 4651226 RMD160 f75d1d069bf88b8b5d6cb7fce97bf24cac1f88ca SHA1 667bb6a5889697c4ca8ca10ef987e21f7a1c178f SHA256 3221ece01af059fbf6ce2d3fe33d85901ac8d9aed898fb044fe3af325fcced9c DIST bfgminer-2.3.6.tbz2 4651689 RMD160 7b3f8d56f7b9bc1fa19825a4c77abcbe307a74c3 SHA1 beecf2d2afc124f4bdb55619002305d48aa5177e SHA256 e55b50cc2e1e77de09a5debfdffabe05fa82307c8b93fabf914823f27e24cf78 +DIST bfgminer-2.4.0.tbz2 4652292 RMD160 059c2ec44a493d0dedf30748c0d06aaac8ee5f20 SHA1 cebb22e38833a8cbbd5b9362e329120337e2c927 SHA256 671451c3df528dd7656fbe2653b71c1b088391799bd3a5f52a193ad4debd025a EBUILD bfgminer-2.3.4.ebuild 2698 RMD160 c7a72ac4f0e36062971c7a831d50ba9d0e6a7328 SHA1 403156cc5700834a646cc61d570c07b224e14ded SHA256 7046df2d191e70af266f36d633a419951318cc48d045040208f5a9c9a6e776af EBUILD bfgminer-2.3.5.ebuild 2613 RMD160 143b967bf6443ca521850efa6e593d40e36a4782 SHA1 31d4e43135427a4bea90f5c472f18df1a53953fe SHA256 fe3f7e1d51688ca5e8d76d0ec38e9f126d5362cd60aa832c6635f78c0724561b EBUILD bfgminer-2.3.6.ebuild 2613 RMD160 2a42998ebf523d28da93a72c0503c7ad918da498 SHA1 0262e54a5cce64d62e8bdfbf1fee1d9cc90f0f1d SHA256 0489af3b14ee11dbc243652538254d471eabc150b37c763927632dc40a5fd6f8 -MISC ChangeLog 984 RMD160 1b05f045c7a523765e00e2853962a87dde4051dc SHA1 daeec44cfe8a93ad2f50dd75a38c195b36750221 SHA256 93a1acb7f88c29f7b328c24f03811bfcc7daed6d8a53d74c578b8a9996efc601 +EBUILD bfgminer-2.4.0.ebuild 2615 RMD160 941261157e4da68cdce283b4da587dc99865a9bd SHA1 5529bb6c3c1c05db27e3fdb1a145b937f7ee187d SHA256 608050c09a3a173354d1323f463accc2cf99126cd608bef0577eae50f134f5cb +MISC ChangeLog 1112 RMD160 734ca2bff3e06c7f4d5a59a40a99d3d5cb4964eb SHA1 00df0c86a7f622ba448a86c3f4eb617d9078f380 SHA256 5768c81f1b68f9cf6cbf14b32b13ac1f1b7276ac9291c9191391b4379af8a0a0 MISC metadata.xml 1098 RMD160 904e475c1965aa37f4397638ad43dbd6b7a1e444 SHA1 2b514f0d72d7c632709394f425b114fcca98e75b SHA256 6f3db428a82a08e50d3debb30909210c4682aba7b258233cc961708f17f6ca65 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEAREIAAYFAk+lRkwACgkQl5yvQNBFVTVt0gCfZ1ykdrK0iwCXtvZtpPGlGrvL +WOQAnRiYNcOOMe5BN8j+B20GmvBcVOC0 +=rvvg +-----END PGP SIGNATURE----- diff --git a/net-misc/bfgminer/bfgminer-2.4.0.ebuild b/net-misc/bfgminer/bfgminer-2.4.0.ebuild new file mode 100644 index 000000000000..c77f2c2b4674 --- /dev/null +++ b/net-misc/bfgminer/bfgminer-2.4.0.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-2.4.0.ebuild,v 1.1 2012/05/05 15:24:50 blueness Exp $ + +EAPI="4" + +inherit eutils + +DESCRIPTION="Modular Bitcoin CPU/GPU/FPGA miner in C" +HOMEPAGE="https://bitcointalk.org/index.php?topic=78192.0" +SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +IUSE="+adl altivec bitforce +cpumining examples hardened icarus ncurses +opencl padlock sse2 sse2_4way sse4 +udev ztex" +REQUIRED_USE=" + || ( bitforce cpumining icarus opencl ztex ) + adl? ( opencl ) + altivec? ( cpumining ppc ppc64 ) + padlock? ( cpumining || ( amd64 x86 ) ) + sse2? ( cpumining || ( amd64 x86 ) ) + sse4? ( cpumining amd64 ) +" + +DEPEND=" + net-misc/curl + ncurses? ( + sys-libs/ncurses + ) + dev-libs/jansson + udev? ( + sys-fs/udev + ) + ztex? ( + dev-libs/libusb:1 + ) +" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + virtual/pkgconfig + sys-apps/sed + adl? ( + x11-libs/amd-adl-sdk + ) + opencl? ( + virtual/opencl + ) + sse2? ( + >=dev-lang/yasm-1.0.1 + ) + sse4? ( + >=dev-lang/yasm-1.0.1 + ) +" + +src_prepare() { + sed -i 's/\(^\#define WANT_.*\(SSE\|PADLOCK\|ALTIVEC\)\)/\/\/ \1/' miner.h + ln -s /usr/include/ADL/* ADL_SDK/ +} + +src_configure() { + local CFLAGS="${CFLAGS}" + if ! use altivec; then + sed -i 's/-faltivec//g' configure + else + CFLAGS="${CFLAGS} -DWANT_ALTIVEC=1" + fi + use padlock && CFLAGS="${CFLAGS} -DWANT_VIA_PADLOCK=1" + if use sse2; then + if use amd64; then + CFLAGS="${CFLAGS} -DWANT_X8664_SSE2=1" + else + CFLAGS="${CFLAGS} -DWANT_X8632_SSE2=1" + fi + fi + use sse2_4way && CFLAGS="${CFLAGS} -DWANT_SSE2_4WAY=1" + use sse4 && CFLAGS="${CFLAGS} -DWANT_X8664_SSE4=1" + use hardened && CFLAGS="${CFLAGS} -nopie" + + CFLAGS="${CFLAGS}" \ + econf \ + $(use_enable adl) \ + $(use_enable bitforce) \ + $(use_enable cpumining) \ + $(use_enable icarus) \ + $(use_with ncurses curses) \ + $(use_enable opencl) \ + $(use_with udev libudev) \ + $(use_enable ztex) + if use opencl; then + # sanitize directories + sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/bfgminer/opencl"'"~' config.h + fi + if use ztex; then + sed -i 's~bitstreams/~'"${EPREFIX}"'/usr/lib/bfgminer/ztex/~' libztex.c + fi +} + +src_install() { + dobin bfgminer + dodoc AUTHORS NEWS README + if use opencl; then + insinto /usr/lib/bfgminer/opencl + doins *.cl + fi + if use ztex; then + insinto /usr/lib/bfgminer/ztex + doins bitstreams/*.bit + fi + if use examples; then + docinto examples + dodoc api-example.php miner.php API.java api-example.c + fi +} |