summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-07-27 12:13:15 +0000
committerAnthony G. Basile <blueness@gentoo.org>2014-07-27 12:13:15 +0000
commit120c2e3ed048c676e7659bb7d70bbe5a96459e76 (patch)
tree88b537ec8b4a958d428d74f611f0eb7b75be6c0a /net-misc/bfgminer
parentVersion bump by Michael Palimaka <kensington@gentoo.org>, bug #513682. (diff)
downloadhistorical-120c2e3ed048c676e7659bb7d70bbe5a96459e76.tar.gz
historical-120c2e3ed048c676e7659bb7d70bbe5a96459e76.tar.bz2
historical-120c2e3ed048c676e7659bb7d70bbe5a96459e76.zip
Version bump
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'net-misc/bfgminer')
-rw-r--r--net-misc/bfgminer/ChangeLog9
-rw-r--r--net-misc/bfgminer/Manifest28
-rw-r--r--net-misc/bfgminer/bfgminer-3.10.6.ebuild166
-rw-r--r--net-misc/bfgminer/bfgminer-4.5.0.ebuild177
-rw-r--r--net-misc/bfgminer/metadata.xml1
5 files changed, 371 insertions, 10 deletions
diff --git a/net-misc/bfgminer/ChangeLog b/net-misc/bfgminer/ChangeLog
index bf9d4e94680c..880bc4763b9a 100644
--- a/net-misc/bfgminer/ChangeLog
+++ b/net-misc/bfgminer/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/bfgminer
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.66 2014/07/23 16:54:24 nimiux Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.67 2014/07/27 12:12:59 blueness Exp $
+
+*bfgminer-3.10.6 (27 Jul 2014)
+*bfgminer-4.5.0 (27 Jul 2014)
+
+ 27 Jul 2014; Anthony G. Basile <blueness@gentoo.org> +bfgminer-3.10.6.ebuild,
+ +bfgminer-4.5.0.ebuild, metadata.xml:
+ Version bump
23 Jul 2014; Chema Alonso <nimiux@gentoo.org> bfgminer-3.10.5.ebuild:
Stable for amd64 wrt bug #516646
diff --git a/net-misc/bfgminer/Manifest b/net-misc/bfgminer/Manifest
index 25e3ee45a802..71a0b95dc60f 100644
--- a/net-misc/bfgminer/Manifest
+++ b/net-misc/bfgminer/Manifest
@@ -3,20 +3,30 @@ Hash: SHA256
DIST bfgminer-2.5.0.tbz2 6015548 SHA256 81a23270cac2ad49c5ca70f498c1194d245fff6aba5f3b9e5ef1f3e6fa1c9482 SHA512 6c4517ef36300d68ea721be63380c491932b01666d49dad87f4d1752b70606b6abe2e4a30c5b5ce0b72b9a029a588503ac9dee1f9d9e9b3fefd483ccdda37bdc WHIRLPOOL 3aa165a96cfc60ad126bb17dcb989682be3dd46f556caa7c71791da5e49e87129dd139c3c476894837f4c035a30657d6372a34ef9a79979baccb20ae56b9e543
DIST bfgminer-3.10.5.tbz2 1091287 SHA256 224e02979ed27f7cebe47ca7a17fa9a1ecce7680531c3995daade54cc3be2807 SHA512 500745b09ced2102cb7bfee8dbe3e44bf69c3220fff5d2fdc642a1b4c0674f36a1786c1e384ab641dde5b3149713d9b0a4e520cfd50c2cc89710fe54f1315303 WHIRLPOOL 0b4299b56b86cc4633225a321c957ce47fd719f3132c32f34618de2e7b15fc388a39cc3627959207490d7f8fb263942cc3be5a710b9cbe7114988364ba1a43fa
+DIST bfgminer-3.10.6.tbz2 1092080 SHA256 82dbfe48c66555e27e636986afe74b18478dcd2fd1339329284cffe3f2c3671b SHA512 ab3ef686687fedb3cb3514e385b98b477d5222f2c96c9b3c9eb73ed87a5265365fa155d8a2612c4efb4a53b20bc26dc5a97131f37688a36ca745f7b8558a86d1 WHIRLPOOL 5c29ef7646b57d24c03372d2fb3d7045603064f938fe510a9703fd7dfcb9fa0c4f3060c03d666f791a78aa8a53fb15703c4a5852e24d73aa9d1e31a294717fe4
DIST bfgminer-4.4.0.tar.xz 906244 SHA256 8dd39e389b97ee2dea1e03b2ba457588edb25d1ba6458980c3bf5e608412c065 SHA512 4728e2915e5a4ecf0935eb2100b1b093c356af61004a2347deaf31901f0dd51f4f334bcd7ca03c9fa043bd3d345f7b21e8b5e9f60a18c6d4f0b080b544471494 WHIRLPOOL 336d906cf20fe0c2f90dd74ed9210cbbd650dd80c8c96aea95f44313be55d1f5efc9cd23edc5031002d8ab46230b6804aa915104f7e722f184dcd1426e7f36bf
+DIST bfgminer-4.5.0.tar.xz 914444 SHA256 bba1768c9f18d627d3395ab6805903d2266a18a2b8c8e9022c7603f8e5093e65 SHA512 920edd4f533750cff84eca23d8c0cc392392bbbb4e036b61dd51b2c7621d5e44d3b8d1b1000c15a161415a60169a4e9e0d36378551cc7894a73c3eb64b797f7a WHIRLPOOL 6ed1cf2c2504d733caefb8d81b772b8bbbfde70acfa06d20fc56e62070717d4925a72772b59df09934474926aba686f2c93557e12b8ab81977d84a12b9f365e0
EBUILD bfgminer-2.5.0.ebuild 2762 SHA256 aeae06d88e9c1ddaca68657a411acef4e74fba5453f611c0b98bcbf9a47a4dc0 SHA512 948830b45c74fd6302eaea9c4619257074c7c5f0555f0509e4fab226490729e83ab0050d006b9559509390c04b2713e39362643dfd1ad793e33b61e4340982fb WHIRLPOOL 8c7f35099f39f63c0738db827469827cf8a18edcb8bd8a37830e342a752e98e35b082b65b5267124dc2599ce1e34452146f2971bcd6307e0ed6038541677ddb2
EBUILD bfgminer-3.10.5.ebuild 3861 SHA256 172db7cb3849b78d7ec1b8d9cf19ae49e45310fbdb56d5df5a3876aa9057bec0 SHA512 3b6b379ab0a246bd6bf3f793e7b7b9dcbf898f5e9403468118078c874a160b873d0ece478eae952c3c24f4781dec1a1e2f3aaae19c76311e6815a0eba30edf5c WHIRLPOOL abfdf9722b461efc2c36772e6eb0005bf3c3da0124616f860442ace3657443c01ec71fdcf111c6959747362d8714842f83e0ca6db3d0ad2bbc26f62e5cf7f455
+EBUILD bfgminer-3.10.6.ebuild 3864 SHA256 2907f0b78a88e552ba306eeda54a90ebd05855c39190f06d000f598a849bcc09 SHA512 c5fdd27d482fcfab6803b0e32465570fbec26b4973c2476b526d1c2b9df1a4769f42371750f7fbd9438fc5608ba1506c1068f794d9c4b80c83239c38165ecf20 WHIRLPOOL 5f79c62dea5f595351f63800ea6950124113b5829b25291ad563af05766c9b9f0c0569e0105e1a82a4de032598806d09a19aee24ca7838ee4c3e5eb3803f6105
EBUILD bfgminer-4.4.0.ebuild 4232 SHA256 aa3da1aa0e69d4dbbfb640aeac11ec5b60a65c86430ec5b1f46e81457f573d88 SHA512 4625e687f480bac53bba3ce9dda82d3ab2b5662e51191ea9ce311e0f6c599477ed672b4cf6a4866405c8d3de29cf70b31bb29bb0b0d9e5edc70619d41be0ac17 WHIRLPOOL b24edb44a53c05564d48418a46d37b0dadd6ae5c4c4873e77f25df7d107c869535ca48c493146e5da42c64c5fcc85fbc5f605cbc047977a6a957fda969af878b
-MISC ChangeLog 15378 SHA256 1be688216cf1af5b7add43205b2d4a5e234199ee84642bfb8092be9ff71681ab SHA512 da8ed83db4f015ffe6bda837069bfbdbafd8a1620ae13491ff391ce7591e9c6364346a19b6be55929c5c01bbfc44acdf5fea505de6901fa10db6bff553060709 WHIRLPOOL f8473fe4212a161bb98a7064d01b3460ac552ba4f7370b4d21b4b4e94304984e6e53fa8bd4ea4361017f734f7a5e427e8e7ed5a172c80a760da44778ab94556a
-MISC metadata.xml 3551 SHA256 41e21c3abaac48fbac8201fd53f04050350150320cc71543fb9136d71c38f5f7 SHA512 34009b95a4140a7a09003c239ef74c706a1487fd3ecf8cf4a7bbe7cb31a61d97217de9d834a5813d4c4747c0758829ad99702654b7a0da8b4e1a6e31c2878928 WHIRLPOOL d9a10ce4b7f04d83cad689aaa63803ed7aaee4bbbb11ea3e2b8ffe6e90142bec297e90f29f5e6d12cfc82ad7dce98966ad1b70be9892dce48f3762ffc1f2ecc4
+EBUILD bfgminer-4.5.0.ebuild 4300 SHA256 e376d5de97ff568bd9e41520d6dacc9a63c29d98d78081dc826fef3cc669d2ad SHA512 91672b7e161ff71d70c5399b257f0a86ca4d4edf8947bee45e958c56eeae4cfef542af9bf30253b8c939185f010761255731c976bae2c239ef143a2a2798d482 WHIRLPOOL eaf0d2f804a7af1779037f11d47aa0153eb91328d275a2c3278e79f2de16509f59d4cb1768a05ee36ba60046114c7a4aac1aac55696db5f2b079ea9df3fe16cb
+MISC ChangeLog 15578 SHA256 cc59636f8c5feae3a94bbc2b356f2278c45b170a676556c5ff3ab062f67ebf82 SHA512 a11622ae29e78ac18d04cf9d230eb97cbe8a64f30d6a2f0f052e965e5e38b54fbec107bb8222e74200e1cb7f623509ad6340cba60eefef86cf7f680318fe0bde WHIRLPOOL 3d5adab9581aede61c344c6c98ba03b19a93f310b86e54acb7eee4bf1dd0d733d92a272827d543b352abd906256ebe16862b29c3995704a4e05d633279cd27db
+MISC metadata.xml 3650 SHA256 b42411b6339211bfd840b63720c263becea8f69d71f4391093a37554d6596e72 SHA512 bdcf9a8e646125247fc76ef6f133d017a07134a14b54d96497aacf346b21c799107c8004266f00461c25cafc9bb5a6dedb9ad960ee2eb77f1fe9863c512519de WHIRLPOOL 69badf3b441e0e757d89e926d0edb429185150780db61f99e5eb882f4c544759e08dfc47c71e3b4dc0caa88bf4db3a4d55008708192b0929edd8cd486cd6350f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQEcBAEBCAAGBQJTz+kFAAoJEA2sAkrWKOU2/GoH/iCn1pPbAvue2IhfbO9UTXCo
-ZgEVCbjiqAZP0G3SklKCwK+V4xobNHxkWY4IAoGfn/P+h5N2ojHkiOeeFoTex4Ig
-bQyRAtOOvJZuhY2lrR0qBY/Uc5tXTIE5U+mj0FhijlO9W3XrAr7hvMWUlzT8gjAB
-ImjXlksWGtLcEr9+Tlui1DJJCTJQQfFlR7noEV/hLDkMltD0LbKnUUcNkTp9GoMh
-gXNz+hC6jzalQRGdY1a2Cc1PZgH8dRgs+QYSz2LMdCXNh4DQFZNuoSYHvqX/1NP2
-2AKl8a6IBX5VvieS29CwAfAIdcqud41FkI8j4dqXBQXLP/lWSoNTJ6zZCi5SK9M=
-=Grlw
+iQIcBAEBCAAGBQJT1O0qAAoJEJOE+m71LUu6y48QAK1i5sRy7dMgye+GMxQmEGyc
+m/dkrgWGFhtOLj67hNzH+zMyXaPay/i4PL43AAOZ5YxTBJnhai8o46KCzW18PBv7
+NytdM/fw6WY24ZlAOx70opWSC0NIa2x24Um020y/5T1iyjGClpSfkXY2ExGj1+gT
+/etWc/U/KxCFR7rM7h1i8eQogOpS0Sn3D5xDxyS4bvoaaOQEl7vvUtQc9T83/2UP
+T45KrdpiAxFH+gKQFOpCO1VPzi9HLYcCFap7KnrBkVdySNJRGn54dANUOyNeSKZ4
+2tM0ncDMD5y2mQRXL94DPv5g9jaUUI0Y25PjP9ZiGmr5muJGaoSJCmhkbA0qQfc7
+cT2MvDctegFHH+V7lU4wrFJa+uZgdWE21v8E3FdcJnc09SuXuWt1E8x5OIaiZaZB
+USGwttKcuYrE1hydVYUE2MgCYIoSucYjwdaM1vzzJ4XJxdGt2WcmASKaoLrhg53e
+nj+oWRL0/assnPz7ItQkHhchKDoilW1DV5oZzDYmVLUrrZnuZLE+JJCvtdQbcu6l
+q0S35znJBq+lfMe42Bw0LV+/JMwrHf4CpJHJM0qe/CbgOiypglE6EksdFG3OoqsF
+XtlT6wljJ4ohgXud9C2tixToDtMDv7UYS8lDI3WkoZakiOzxRu0UoSCHyWKxU8Fb
+gnvXKV+QEPgE0+AF0ubF
+=j5N3
-----END PGP SIGNATURE-----
diff --git a/net-misc/bfgminer/bfgminer-3.10.6.ebuild b/net-misc/bfgminer/bfgminer-3.10.6.ebuild
new file mode 100644
index 000000000000..15b995e12211
--- /dev/null
+++ b/net-misc/bfgminer/bfgminer-3.10.6.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-3.10.6.ebuild,v 1.1 2014/07/27 12:12:59 blueness Exp $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C"
+HOMEPAGE="https://bitcointalk.org/?topic=168174"
+SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.tbz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
+
+# TODO: knc (needs i2c-tools header)
+IUSE="+adl antminer avalon bifury bitforce bfsb bigpic bitfury cpumining drillbit examples hardened hashbuster hashbuster2 hashfast icarus klondike +libusb littlefury lm_sensors metabank modminer nanofury ncurses +opencl proxy proxy_getwork proxy_stratum screen scrypt twinfury +udev unicode x6500 ztex"
+REQUIRED_USE='
+ || ( antminer avalon bfsb bifury bigpic bitforce bitfury cpumining drillbit hashbuster hashbuster2 hashfast icarus klondike littlefury metabank modminer nanofury opencl proxy twinfury x6500 ztex )
+ adl? ( opencl )
+ bfsb? ( bitfury )
+ bigpic? ( bitfury )
+ drillbit? ( bitfury )
+ hashbuster? ( bitfury )
+ hashbuster2? ( bitfury libusb )
+ klondike? ( libusb )
+ littlefury? ( bitfury )
+ lm_sensors? ( opencl )
+ metabank? ( bitfury )
+ nanofury? ( bitfury )
+ scrypt? ( || ( cpumining opencl ) )
+ twinfury? ( bitfury )
+ unicode? ( ncurses )
+ proxy? ( || ( proxy_getwork proxy_stratum ) )
+ proxy_getwork? ( proxy )
+ proxy_stratum? ( proxy )
+ x6500? ( libusb )
+ ztex? ( libusb )
+'
+
+DEPEND='
+ net-misc/curl
+ ncurses? (
+ sys-libs/ncurses[unicode?]
+ )
+ >=dev-libs/jansson-2
+ net-libs/libblkmaker
+ udev? (
+ virtual/udev
+ )
+ hashbuster? (
+ dev-libs/hidapi
+ )
+ libusb? (
+ virtual/libusb:1
+ )
+ lm_sensors? (
+ sys-apps/lm_sensors
+ )
+ nanofury? (
+ dev-libs/hidapi
+ )
+ proxy_getwork? (
+ net-libs/libmicrohttpd
+ )
+ proxy_stratum? (
+ dev-libs/libevent
+ )
+ screen? (
+ app-misc/screen
+ || (
+ >=sys-apps/coreutils-8.15
+ sys-freebsd/freebsd-bin
+ app-misc/realpath
+ )
+ )
+'
+RDEPEND="${DEPEND}
+ opencl? (
+ || (
+ virtual/opencl
+ virtual/opencl-sdk
+ dev-util/ati-stream-sdk
+ dev-util/ati-stream-sdk-bin
+ dev-util/amdstream
+ dev-util/amd-app-sdk
+ dev-util/amd-app-sdk-bin
+ dev-util/nvidia-cuda-sdk[opencl]
+ dev-util/intel-opencl-sdk
+ )
+ )
+"
+DEPEND="${DEPEND}
+ virtual/pkgconfig
+ >=dev-libs/uthash-1.9.7
+ sys-apps/sed
+ cpumining? (
+ amd64? (
+ >=dev-lang/yasm-1.0.1
+ )
+ x86? (
+ >=dev-lang/yasm-1.0.1
+ )
+ )
+"
+
+src_configure() {
+ local CFLAGS="${CFLAGS}"
+ local with_curses
+ use hardened && CFLAGS="${CFLAGS} -nopie"
+
+ if use ncurses; then
+ if use unicode; then
+ with_curses='--with-curses=ncursesw'
+ else
+ with_curses='--with-curses=ncurses'
+ fi
+ else
+ with_curses='--without-curses'
+ fi
+
+ CFLAGS="${CFLAGS}" \
+ econf \
+ --docdir="/usr/share/doc/${PF}" \
+ $(use_enable adl) \
+ $(use_enable antminer) \
+ $(use_enable avalon) \
+ $(use_enable bifury) \
+ $(use_enable bitforce) \
+ $(use_enable bfsb) \
+ $(use_enable bigpic) \
+ $(use_enable bitfury) \
+ $(use_enable cpumining) \
+ $(use_enable drillbit) \
+ $(use_enable hashbuster) \
+ $(use_enable hashbuster2 hashbusterusb) \
+ $(use_enable hashfast) \
+ $(use_enable icarus) \
+ $(use_enable klondike) \
+ $(use_enable littlefury) \
+ $(use_enable metabank) \
+ $(use_enable modminer) \
+ $(use_enable nanofury) \
+ $(use_enable opencl) \
+ $(use_enable scrypt) \
+ $(use_enable twinfury) \
+ --with-system-libblkmaker \
+ $with_curses \
+ $(use_with udev libudev) \
+ $(use_with lm_sensors sensors) \
+ $(use_with proxy_getwork libmicrohttpd) \
+ $(use_with proxy_stratum libevent) \
+ $(use_enable x6500) \
+ $(use_enable ztex)
+}
+
+src_install() {
+ emake install DESTDIR="$D"
+ if ! use examples; then
+ rm -r "${D}/usr/share/doc/${PF}/rpc-examples"
+ fi
+ if ! use screen; then
+ rm "${D}/usr/bin/start-bfgminer.sh"
+ fi
+}
diff --git a/net-misc/bfgminer/bfgminer-4.5.0.ebuild b/net-misc/bfgminer/bfgminer-4.5.0.ebuild
new file mode 100644
index 000000000000..f8e45433a57f
--- /dev/null
+++ b/net-misc/bfgminer/bfgminer-4.5.0.ebuild
@@ -0,0 +1,177 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-4.5.0.ebuild,v 1.1 2014/07/27 12:12:59 blueness Exp $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="Modular Bitcoin ASIC/FPGA/GPU/CPU miner in C"
+HOMEPAGE="https://bitcointalk.org/?topic=168174"
+SRC_URI="http://luke.dashjr.org/programs/bitcoin/files/${PN}/${PV}/${P}.txz -> ${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
+
+# TODO: knc (needs i2c-tools header)
+IUSE="adl antminer avalon bfx bifury bitforce bfsb bigpic bitfury cpumining drillbit dualminer examples gridseed hardened hashbuster hashbuster2 hashfast icarus jingtian klondike +libusb littlefury lm_sensors metabank modminer nanofury ncurses opencl proxy proxy_getwork proxy_stratum rockminer screen scrypt twinfury +udev udev-broad-rules unicode x6500 zeusminer ztex"
+REQUIRED_USE='
+ || ( antminer avalon bfsb bfx bifury bigpic bitforce bitfury cpumining drillbit dualminer gridseed hashbuster hashbuster2 hashfast icarus klondike littlefury metabank modminer nanofury opencl proxy twinfury x6500 ztex )
+ adl? ( opencl )
+ bfsb? ( bitfury )
+ bfx? ( bitfury libusb )
+ bigpic? ( bitfury )
+ drillbit? ( bitfury )
+ dualminer? ( icarus )
+ gridseed? ( scrypt )
+ hashbuster? ( bitfury )
+ hashbuster2? ( bitfury libusb )
+ klondike? ( libusb )
+ littlefury? ( bitfury )
+ lm_sensors? ( opencl )
+ metabank? ( bitfury )
+ nanofury? ( bitfury )
+ scrypt? ( || ( cpumining dualminer gridseed opencl zeusminer ) )
+ twinfury? ( bitfury )
+ unicode? ( ncurses )
+ proxy? ( || ( proxy_getwork proxy_stratum ) )
+ proxy_getwork? ( proxy )
+ proxy_stratum? ( proxy )
+ x6500? ( libusb )
+ zeusminer? ( scrypt )
+ ztex? ( libusb )
+'
+
+DEPEND='
+ net-misc/curl
+ ncurses? (
+ sys-libs/ncurses[unicode?]
+ )
+ >=dev-libs/jansson-2
+ net-libs/libblkmaker
+ udev? (
+ virtual/udev
+ )
+ hashbuster? (
+ dev-libs/hidapi
+ )
+ libusb? (
+ virtual/libusb:1
+ )
+ lm_sensors? (
+ sys-apps/lm_sensors
+ )
+ nanofury? (
+ dev-libs/hidapi
+ )
+ proxy_getwork? (
+ net-libs/libmicrohttpd
+ )
+ proxy_stratum? (
+ dev-libs/libevent
+ )
+ screen? (
+ app-misc/screen
+ || (
+ >=sys-apps/coreutils-8.15
+ sys-freebsd/freebsd-bin
+ app-misc/realpath
+ )
+ )
+'
+RDEPEND="${DEPEND}
+ opencl? (
+ || (
+ virtual/opencl
+ virtual/opencl-sdk
+ dev-util/ati-stream-sdk
+ dev-util/ati-stream-sdk-bin
+ dev-util/amdstream
+ dev-util/amd-app-sdk
+ dev-util/amd-app-sdk-bin
+ dev-util/nvidia-cuda-sdk[opencl]
+ dev-util/intel-opencl-sdk
+ )
+ )
+"
+DEPEND="${DEPEND}
+ virtual/pkgconfig
+ >=dev-libs/uthash-1.9.7
+ sys-apps/sed
+ cpumining? (
+ amd64? (
+ >=dev-lang/yasm-1.0.1
+ )
+ x86? (
+ >=dev-lang/yasm-1.0.1
+ )
+ )
+"
+
+src_configure() {
+ local CFLAGS="${CFLAGS}"
+ local with_curses
+ use hardened && CFLAGS="${CFLAGS} -nopie"
+
+ if use ncurses; then
+ if use unicode; then
+ with_curses='--with-curses=ncursesw'
+ else
+ with_curses='--with-curses=ncurses'
+ fi
+ else
+ with_curses='--without-curses'
+ fi
+
+ CFLAGS="${CFLAGS}" \
+ econf \
+ --docdir="/usr/share/doc/${PF}" \
+ $(use_enable adl) \
+ $(use_enable antminer) \
+ $(use_enable avalon) \
+ $(use_enable bifury) \
+ $(use_enable bitforce) \
+ $(use_enable bfsb) \
+ $(use_enable bfx) \
+ $(use_enable bigpic) \
+ $(use_enable bitfury) \
+ $(use_enable cpumining) \
+ $(use_enable drillbit) \
+ $(use_enable dualminer) \
+ $(use_enable gridseed) \
+ $(use_enable hashbuster) \
+ $(use_enable hashbuster2 hashbusterusb) \
+ $(use_enable hashfast) \
+ $(use_enable icarus) \
+ $(use_enable jingtian) \
+ $(use_enable klondike) \
+ $(use_enable littlefury) \
+ $(use_enable metabank) \
+ $(use_enable modminer) \
+ $(use_enable nanofury) \
+ $(use_enable opencl) \
+ $(use_enable rockminer) \
+ $(use_enable scrypt) \
+ $(use_enable twinfury) \
+ --with-system-libblkmaker \
+ $with_curses \
+ $(use_with udev libudev) \
+ $(use_enable udev-broad-rules broad-udevrules) \
+ $(use_with lm_sensors sensors) \
+ $(use_with proxy_getwork libmicrohttpd) \
+ $(use_with proxy_stratum libevent) \
+ $(use_enable x6500) \
+ $(use_enable zeusminer) \
+ $(use_enable ztex)
+}
+
+src_install() {
+ emake install DESTDIR="$D"
+ if ! use examples; then
+ rm -r "${D}/usr/share/doc/${PF}/rpc-examples"
+ fi
+ if ! use screen; then
+ rm "${D}/usr/bin/start-bfgminer.sh"
+ fi
+}
diff --git a/net-misc/bfgminer/metadata.xml b/net-misc/bfgminer/metadata.xml
index 554ae06b08dd..826b2eef84c2 100644
--- a/net-misc/bfgminer/metadata.xml
+++ b/net-misc/bfgminer/metadata.xml
@@ -45,6 +45,7 @@
<flag name='sse2_4way'>Enable support for CPU SSE2 4way mining algorithm</flag>
<flag name='sse4'>Enable support for CPU SSE4 mining algorithm</flag>
<flag name='twinfury'>Enable support for mining with Twinfury USB sticks</flag>
+ <flag name='udev-broad-rules'>Enable broader udev rules that may match non-mining devices</flag>
<flag name='x6500'>Enable support for mining with X6500 FPGAs</flag>
<flag name='zeusminer'>Enable support for mining with ZeusMiner units</flag>
<flag name='ztex'>Enable support for mining with Ztex FPGAs</flag>