summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2012-08-06 15:57:53 +0000
committerAnthony G. Basile <blueness@gentoo.org>2012-08-06 15:57:53 +0000
commit7c82fc5ce997c98ef981719866c1788e84a75c3f (patch)
treef0d003fcef23ccd69f2b127095d1d9dc660e290c /net-misc/bfgminer
parent[bump] dev-perl/DateTime-TimeZone-1.480.0 (diff)
downloadhistorical-7c82fc5ce997c98ef981719866c1788e84a75c3f.tar.gz
historical-7c82fc5ce997c98ef981719866c1788e84a75c3f.tar.bz2
historical-7c82fc5ce997c98ef981719866c1788e84a75c3f.zip
Version bump
Package-Manager: portage-2.1.10.65/cvs/Linux x86_64
Diffstat (limited to 'net-misc/bfgminer')
-rw-r--r--net-misc/bfgminer/ChangeLog7
-rw-r--r--net-misc/bfgminer/Manifest10
-rw-r--r--net-misc/bfgminer/bfgminer-2.6.3.ebuild126
3 files changed, 138 insertions, 5 deletions
diff --git a/net-misc/bfgminer/ChangeLog b/net-misc/bfgminer/ChangeLog
index cc3f81330eb1..ac60df5bb834 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.16 2012/07/31 01:57:54 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.17 2012/08/06 15:57:53 blueness Exp $
+
+*bfgminer-2.6.3 (06 Aug 2012)
+
+ 06 Aug 2012; Anthony G. Basile <blueness@gentoo.org> +bfgminer-2.6.3.ebuild:
+ Version bump
*bfgminer-2.6.1 (31 Jul 2012)
*bfgminer-2.5.3 (31 Jul 2012)
diff --git a/net-misc/bfgminer/Manifest b/net-misc/bfgminer/Manifest
index f6889c82a480..97d1b379260d 100644
--- a/net-misc/bfgminer/Manifest
+++ b/net-misc/bfgminer/Manifest
@@ -6,16 +6,18 @@ DIST bfgminer-2.3.6.tbz2 4651689 RMD160 7b3f8d56f7b9bc1fa19825a4c77abcbe307a74c3
DIST bfgminer-2.4.4.tbz2 6009722 SHA256 247a8e56c4982e0ea1f7e98567ae73be9c8a5a7ae7cb3b1a97c53cdd007ab22c SHA512 76048d63350d6ef7ae6961687bd273f53105b9e46b0caf36b521f7527580310bc357ab973db658149f1a176e5dde06ab630f6bd1eedd1953cbd1150df3880809 WHIRLPOOL 8e2eedef1f14f27daa259857605f018fe58180727f8907ceb966ac348b6d42c9cc27f84c5b73c3eb64e5daccf76e95c221a798cf5f714686f940ae10af8326dd
DIST bfgminer-2.5.3.tbz2 6019655 SHA256 c1a24d5ca5d53f424c4254a195366a3e778092413771dbeb1d100ac33711c4bb SHA512 489b137adcac75d32d2e817db79077354a7e9a76c7ca00ebeb7722d731cccb0e28231c39a626a1f57b057591d2da313d2a8593fc7992b9d316b8a314b0b05cda WHIRLPOOL d24bd9bc40f4f8993a7e17bc1cc8d383519dedb3e82123ac1ead72ef70c3e63457d62d7c40fc6f63fcc0346436ba0c030672d0adff561216b195f2560652c92a
DIST bfgminer-2.6.1.tbz2 6070480 SHA256 2f9e27601e92f97aa4df599e2c14a2b8f5231a2074ee63c35ea783514175a558 SHA512 be6ebe4eaeb00d272de0af1cfd569127580eda704e557ae673c038e5831b56786f40221bb41282edbde2be9d0ee78aff92605b8d7f3b58d9a0767c5cd8556e7e WHIRLPOOL a3c048f8aed0be1e41919f1e488308b2aa5de5304ba0034cff14bfd375f0eaedb4e323bcac28f8815a68da7e8541526f42df620d1ed4b2824d4421912f4f8676
+DIST bfgminer-2.6.3.tbz2 6049446 SHA256 5007eb8b009c3665323c4d74e5357625b924f0f42451b6dad397c46b8001c3c5 SHA512 8311a8fab8f1fa7aee4787666623d92a1eca72923c64aebfa64bf17f0c2f703524df75233057ccb1392b32e63cc14fc6d0ce4bfb33d19ea2bdffe09b88bb6e3f WHIRLPOOL 715586e2a324ef8ea1714a282352e02b3692d06cbc3080789e46316e31e3b6c92cb61d59c1f9c201472cc6b581009873fe137fed4dd530a2d34c535d0a4d81e7
EBUILD bfgminer-2.3.6.ebuild 2635 SHA256 381c852fcdec8fd92b8140952d283fc0c56822f3909e2b6bde24057fd5e761f1 SHA512 a3aee0d05273cc90ee528a23d9693d3709e634a45d5e288d6155c23078ef20b8b32f0d1949d0d44da50f95995f8cae0e4feddec592e4e465b0fdfec2ad909988 WHIRLPOOL c344c86f0a678b36ff9e0cd4d4e570728393bd2d8fba72341dd13040d5412c1262980df2f476604105a21a53442ff33d46fc0b120055a1e86fa510ecb127f30f
EBUILD bfgminer-2.4.4.ebuild 2756 SHA256 3575301d836cbca702f054874ba5a584919001024a3438ac76035fe22275d84c SHA512 22c41a120f83314c3b46840c773d29b67cb92fd6f07d3bf62edf1c284dc69fcb7e19a4064b49be123246216577113ffaecb0a2c5e170ed9f1d2fdb926c530782 WHIRLPOOL b0d46629502e670928ead59c5f544fbdb818ed3f983f95d9bf4bdfcedf9178d3a9b14c1bbc642764d671995de4b3123c73daaff490bd22e01cb8953f3f101b4c
EBUILD bfgminer-2.5.3.ebuild 3008 SHA256 f24ecddfa4e2742ef4f3d8073b20dfa1df6657e20991d2419de774e30de6bf55 SHA512 8ea52f7808d92071bfcff8e1446bb3151370c0cb6af84fe18878b79f840a1b91f330f986bca226cc73dc5c72eeff5669dc1def58aecd6b4c125fcaa514443367 WHIRLPOOL 6d17e5687ba9302a2ebe96bc9336ebc2d20b6a49ae9423b11bafce1c5d04e276fe7987d8cc68ad1c920fdb5ad8c4b9606a0ed3ebf52f6ec64b4bddc13c33bf37
EBUILD bfgminer-2.6.1.ebuild 3124 SHA256 fc7753f6199d845eb3935c70ff2bd7a7cce3d54b682fb53c9d3d40acf8f9e5e7 SHA512 39f14abfc7586b62898c68110d0100d5f339d8a1e8798aad0d2fe529d4e9f58610ac1833f1d1b4e3aa5278ef026c063c3bedbb5b8abe417bc25ffd6335d93d51 WHIRLPOOL fb11f60add2701bb8f8197c5e0df5eed696348a6239fd6784304bf5a07d5a03d4be81a05b73c80a61f408f9dc9e7efaf39bee14623085662cbba8c836fda0fa0
-MISC ChangeLog 2835 SHA256 df0c4167ac86a4d3c7815741ca0b806098627c9122d213697e96fc6c3a0eca43 SHA512 9c09ad545e5d122bf5670e84ad4aaadc1d73fdef81a703fd99feb9d9cfb2ac31c9f933576be830f481b2e3e1032005ad6f123a9cd00734582473b2917aada5e3 WHIRLPOOL 83b0308ecd5f44bacdda3c8c16e668dbcf7b3cc616e5b714c19fe4b46add7c4b995073c3f9f04e57b406c361bc9cb83e858df137fa71a51e0fe531bbec164988
+EBUILD bfgminer-2.6.3.ebuild 2867 SHA256 d650d94fd156a321d07f1139d64dc6b1b77e5c56807bca9b3b6bb143b011dc8c SHA512 1b4176fcf14f1acc9e93ea51f27ed0b3c574ef231017371482bbdba3291700e409ef31eba1c6acd469f13cb0fcc4884cc3f8ee7e825f108b9fcb59d419419635 WHIRLPOOL 9cde827b5f380a6e64af79a6cc541aeed668535ad8c74fb112b1a90075e41a4c242d0790a84861fb2768a5e0616d76c7b02e6e26c59118b8554adda36f7b261b
+MISC ChangeLog 2961 SHA256 b25e8598ba9eeaca167d8b87037325ffc8a0d215117ef7158ffc9b69a8f17dd8 SHA512 6e99794e0ba9bdd8fe27758f31e301a13ff28c593fd08fce92683847b3c55043916eedf54271b4e496c8d240b1c445600a35c1d607e88c8ebb36d941349042a3 WHIRLPOOL 40694f1871e033de2c45c26301d9d7296634bef4287dfdc02dcdd49aa643befbe9c8e0d5cc6cb72d9ef900bbc69985ec5af644d85b4c1764ce35d27be68f8303
MISC metadata.xml 1247 SHA256 b2dfbbb502f7b309d61bbfa74420ba919f4874112fc5c5daab12bf2fd8c32d73 SHA512 eac9ed477ce67944c943db1ba0b24e89cec21c1935bb54a1a126536e56cc0f8814735e5c74a368e862cdc95e80b15676af068faffa2a4e659b80c784b041cfda WHIRLPOOL 81fd07dbca609d64b3576d31427bf8fcec55b4986d5d83b5722a0b4c076328955b6a496439d74c96872399b11818550d866df3905204179d3fe65251b5621b2e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlAXO60ACgkQl5yvQNBFVTW5xACgpduCBhgmcDZIDotqIDuJa2o8
-uNEAoJBFdgELuI0/sZ2p7qL+9l3C7icH
-=+33D
+iEYEAREIAAYFAlAf6Y4ACgkQl5yvQNBFVTUd1ACeNpbNg0d6qUBE5f5pgDOIH1gB
+47AAnRLfs4ZwMWpi1ngaMLTlO6g2CQ9i
+=fH9x
-----END PGP SIGNATURE-----
diff --git a/net-misc/bfgminer/bfgminer-2.6.3.ebuild b/net-misc/bfgminer/bfgminer-2.6.3.ebuild
new file mode 100644
index 000000000000..9cfd617d7221
--- /dev/null
+++ b/net-misc/bfgminer/bfgminer-2.6.3.ebuild
@@ -0,0 +1,126 @@
+# 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.6.3.ebuild,v 1.1 2012/08/06 15:57:53 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 modminer ncurses +opencl padlock scrypt sse2 sse2_4way sse4 +udev ztex"
+REQUIRED_USE="
+ || ( bitforce cpumining icarus modminer opencl ztex )
+ adl? ( opencl )
+ altivec? ( cpumining ppc ppc64 )
+ padlock? ( cpumining || ( amd64 x86 ) )
+ scrypt? ( || ( cpumining opencl ) )
+ sse2? ( cpumining || ( amd64 x86 ) )
+ sse4? ( cpumining amd64 )
+"
+
+DEPEND="
+ net-misc/curl
+ ncurses? (
+ sys-libs/ncurses
+ )
+ dev-libs/jansson
+ udev? (
+ sys-fs/udev
+ )
+ ztex? (
+ virtual/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_enable modminer) \
+ $(use_with ncurses curses) \
+ $(use_enable opencl) \
+ $(use_enable scrypt) \
+ $(use_with udev libudev) \
+ $(use_enable ztex)
+ # sanitize directories
+ sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/bfgminer"'"~' config.h
+}
+
+src_install() {
+ dobin bfgminer
+ dodoc AUTHORS NEWS README API-README
+ if use scrypt; then
+ dodoc SCRYPT-README
+ fi
+ if use icarus || use bitforce; then
+ dodoc FPGA-README
+ fi
+ if use modminer; then
+ insinto /usr/lib/bfgminer/modminer
+ doins bitstreams/*.ncd
+ dodoc bitstreams/COPYING_fpgaminer
+ fi
+ if use opencl; then
+ insinto /usr/lib/bfgminer
+ doins *.cl
+ fi
+ if use ztex; then
+ insinto /usr/lib/bfgminer/ztex
+ doins bitstreams/*.bit
+ dodoc bitstreams/COPYING_ztex
+ fi
+ if use examples; then
+ docinto examples
+ dodoc api-example.php miner.php API.java api-example.c
+ fi
+}