diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-02-19 13:28:13 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2013-02-19 13:28:13 +0000 |
commit | d30b7208bae8f49b7ab0226db0f97f165731be7c (patch) | |
tree | 82070b93affdcbb64f4ecf7c50d11b650ab248c8 /net-misc/bfgminer | |
parent | Version Bump (diff) | |
download | historical-d30b7208bae8f49b7ab0226db0f97f165731be7c.tar.gz historical-d30b7208bae8f49b7ab0226db0f97f165731be7c.tar.bz2 historical-d30b7208bae8f49b7ab0226db0f97f165731be7c.zip |
Version bumps
Package-Manager: portage-2.1.11.50/cvs/Linux x86_64
Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'net-misc/bfgminer')
-rw-r--r-- | net-misc/bfgminer/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/bfgminer/Manifest | 32 | ||||
-rw-r--r-- | net-misc/bfgminer/bfgminer-2.10.5.ebuild | 133 | ||||
-rw-r--r-- | net-misc/bfgminer/bfgminer-2.9.10.ebuild | 132 |
4 files changed, 291 insertions, 15 deletions
diff --git a/net-misc/bfgminer/ChangeLog b/net-misc/bfgminer/ChangeLog index 38b0952586b5..097662cdf737 100644 --- a/net-misc/bfgminer/ChangeLog +++ b/net-misc/bfgminer/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/bfgminer # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.32 2013/01/04 02:12:04 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.33 2013/02/19 13:27:58 blueness Exp $ + +*bfgminer-2.10.5 (19 Feb 2013) +*bfgminer-2.9.10 (19 Feb 2013) + + 19 Feb 2013; Anthony G. Basile <blueness@gentoo.org> +bfgminer-2.10.5.ebuild, + +bfgminer-2.9.10.ebuild: + Version bumps *bfgminer-2.10.2 (04 Jan 2013) diff --git a/net-misc/bfgminer/Manifest b/net-misc/bfgminer/Manifest index 7d7f7bd93bab..855c4d55279d 100644 --- a/net-misc/bfgminer/Manifest +++ b/net-misc/bfgminer/Manifest @@ -3,6 +3,7 @@ Hash: SHA256 AUX Bugfix-Fix-building-without-OpenCL-support.patch 730 SHA256 4b6d2c1e1b013215f325fe673bde0b161bd8eaea89e721a129cad8e051d6a054 SHA512 c0bb0e0119ab5586fca0626fcf9351cd4b1ff26811d0f05851747c66d9cbacb635ec14cecb9843771bf3f5e29c82313a1feeea387f2f91e85ae01c02e889ae0a WHIRLPOOL 9137171200de11eff964945818cdbe06b5f5a41d62171d334e01cbe023a7684a6392e767f80e8e7ffc3e80a5d7de493344f07a69aedaea8146e216962eda2568 DIST bfgminer-2.10.2.tbz2 7012446 SHA256 dfaa5f91621490436b33d35c38346285bb32e38af853eb79abe35c2d16b89034 SHA512 72b79680966731d972fabcf2e2ba0e6677faf45f7798fc1b82bf894041db5675fa7ae2341094ac4f3069266e21a859eaf01624f91bff862d95ac7815b44a80ed WHIRLPOOL 70482e4f76c3502de7139ddaf7aa4d36e7e7f338cf92c8a9125c96ae18ecda4b6b346b9ae91cff9ea4e27d559b58545d2d95fa8db42cbde290642bb2e8b33a4d +DIST bfgminer-2.10.5.tbz2 6073242 SHA256 0f382701bbb344d155c1681568afa11c21391700a3446e2a29782dad5b313da6 SHA512 027472c9a6dd0832be7d88ef85405367bb4977227c00efa01d491aa8f34b53b18c0ffec71f40e9e0340f6bd56997140a1766d21edd6853fd3279ddfac0116a79 WHIRLPOOL e1fa7bc5bfff77db2ca2764f206a49f301a7c835ca20783662ced8ae92e4413cfe4ac0c5aa01c828c9de3c03c2cb18adf9baab1b5762aef656ea32ee027a65c1 DIST bfgminer-2.3.6.tbz2 4651689 SHA256 e55b50cc2e1e77de09a5debfdffabe05fa82307c8b93fabf914823f27e24cf78 DIST bfgminer-2.4.4.tbz2 6009722 SHA256 247a8e56c4982e0ea1f7e98567ae73be9c8a5a7ae7cb3b1a97c53cdd007ab22c SHA512 76048d63350d6ef7ae6961687bd273f53105b9e46b0caf36b521f7527580310bc357ab973db658149f1a176e5dde06ab630f6bd1eedd1953cbd1150df3880809 WHIRLPOOL 8e2eedef1f14f27daa259857605f018fe58180727f8907ceb966ac348b6d42c9cc27f84c5b73c3eb64e5daccf76e95c221a798cf5f714686f940ae10af8326dd DIST bfgminer-2.5.0.tbz2 6015548 SHA256 81a23270cac2ad49c5ca70f498c1194d245fff6aba5f3b9e5ef1f3e6fa1c9482 SHA512 6c4517ef36300d68ea721be63380c491932b01666d49dad87f4d1752b70606b6abe2e4a30c5b5ce0b72b9a029a588503ac9dee1f9d9e9b3fefd483ccdda37bdc WHIRLPOOL 3aa165a96cfc60ad126bb17dcb989682be3dd46f556caa7c71791da5e49e87129dd139c3c476894837f4c035a30657d6372a34ef9a79979baccb20ae56b9e543 @@ -10,9 +11,11 @@ DIST bfgminer-2.5.3.tbz2 6019655 SHA256 c1a24d5ca5d53f424c4254a195366a3e77809241 DIST bfgminer-2.6.5.tbz2 5641766 SHA256 be5b76c8239e5ad091fcc97a121c598ed4e8cca66fcfc6feefca72f1937bd6db SHA512 602ed00cf585100601a611d37016f1f52b2ad1484fc91f517d3edd3ded3579d3155a27968f40d257d57b2837e770190b709586c03799cfedd69d69ba6ac61722 WHIRLPOOL 02481fa6a1ce54f326a4016db2a5e9bf28b9652151ac94b4dd62dd6f5043c1cb654a7c26e274d34856c62c3c1c09b5fa586ca0d32a6a4724507db06d65cfac95 DIST bfgminer-2.7.5.tbz2 5652670 SHA256 b264333e81689226580b0a49f2d1f4ee4ff9cbc9dcf2722a03f514729be12449 SHA512 45c70b7016d9e3b66efc6b5ccd08100cb1a3688918c7e93eff5080ab797619a478223177a125c4249e1a4ed5024b1c1c41c58c5021f578fdd9febd62b60be604 WHIRLPOOL 9df66164080d9c71a70fbf84e143555695a4a5aee18034d100c6375dfb72365d448ea19bd2e374aa491fbf35e6f73a5852b8afd99e875a003fad5920c6276e68 DIST bfgminer-2.8.7.tbz2 6000668 SHA256 d0dca0547bc5a231b2a6c85e8fa94546b4682c3c2fdebc65b61cb4537a36976e SHA512 a9d82d82eee9d02fbe911646d12694cd3f61fe22f177d2964907e83df491b1f055e25f0a7d89e1f96a08a7d13f7d53dab75d5fc079380f6614a6ba7556a09108 WHIRLPOOL 0719780f03b7d501552338f097807ec79aeab2276dc9b72dc483c80e67ea3bc98a5185c3d605f44179b437553219cedd2cea5628e2413adf8603c8a0101a0488 +DIST bfgminer-2.9.10.tbz2 6994628 SHA256 7b533baa0de286fff403ed87829a9727358a302289d63596895803e0573277da SHA512 e64fca4f281f46b148d3c70f9c94cf7a0dabd233364c1925980a01d042dca78aefdc036178317f3c51f45feed35d298fd3d206335a953c5aa99bdcd0c8d17b66 WHIRLPOOL fd8603befe56d064f60238abccd2c05c497cad79656f7dda87e466b1ed5dad1bbd1e14b3c2f27d080c738fe74dec6e36057b69e0180fa08c4a15037edbdd808d DIST bfgminer-2.9.4.tbz2 6993878 SHA256 c0ae1ec0c7c897fa7c538a4d07395a195c048cd28a37526f2d8c4791209dcc46 SHA512 4aa43dcb85a3ebb0754a345dec03e20c62a26179fa80aeaa5ee57dba0401f1e67c2957385196e96b0fd57dad1d18322cbeaa539602eb3d4cae19303a058dbe1f WHIRLPOOL 894ecae854d3a5e462255eeea262ee952a108b4cdec656f5939e06488d6b60ae9f029cce73692757781615528b3af1f37f6b7b7cc13081778a2f92617545c2d8 DIST bfgminer-2.9.7.tbz2 6992325 SHA256 95c17697520392e709ae8b7090772b0fb6c9b250cae808daa749354321753255 SHA512 64fd1676fa410bf3e7c52bcbbe793142a2fc4809e93eaa3017a6ddceee9459f26fa9669dc099c569b5e69af484f69fbb285f73b7210eff2fdcc407a7f6cd51ca WHIRLPOOL 3fe84e352ddeacfe7bafe9afbb9c9a2487d25e9aa71b696cd4f76d5216c36aea3084abbffb0b38ea4d362622a133f7f3572d36524b4856c524a9eb8a77db61a8 EBUILD bfgminer-2.10.2.ebuild 3004 SHA256 0715d4f1541ba8b40527b2c212921d66de296d189b2645483c9a0faccb44ed32 SHA512 803b8eddf03e64329e45f8f0e86bb29df215db9c46878a418e1af8b9f27a0fd5df986b224624a23c29cd7aafe6539a38cb702609be3050599e18eac6a965d2ae WHIRLPOOL aed2e2feb48ba989c0c65fadacd9d40110b49ad5791c4d83563ecd33360bf3702528b82554e3c181f433af8ca27b95c885816d196737c24cc6d86ec730c5df9a +EBUILD bfgminer-2.10.5.ebuild 3024 SHA256 eb3dd72b095ad41656ae0140b04ecaa4cb608e8bc9395a52a91fe2a819d333b1 SHA512 d5d64fa7d2a0cb1486df4ff10e614ecd77a8f26cd40f9425725f102316f89a45f0dbdc8f7797298df3e15a5866667a54a4d671e8c115147185eaf435c89cc099 WHIRLPOOL d640588fc0c964c035eb0e3d1ba181e9139460fce79b97813957d9814bb44c2beb14d67350fd2dda544125ca109203f9a48fb3e9b741932af7df2565b2343984 EBUILD bfgminer-2.3.6.ebuild 2638 SHA256 a1246f2ff3853aafe905a490dc7a9a027519084ff22fecd81cb86cadb3f43934 SHA512 13736c63cd5abeb744880834a149c74fe42aa2b23b817948f58148cd349731c07e35d61a8e5e56467047e0a853e717fb1297741649f9fe4d07bbef8c868a2839 WHIRLPOOL e4e5cff3d37432bdf20ed01ce35a43267db42331bbf07ee845d53b8a6446c419a6e6b2b2c2a5fff654bb4d659c75ef0aa259a722d6fc5f90907b0884ff6ef9fc EBUILD bfgminer-2.4.4.ebuild 2759 SHA256 970e3befee47453247b2d9e860d0802d98e380430d4527e3fa731c728a9612c8 SHA512 6dfe90f0ec124fcd22e6c4daa4be3cc6f260ed6278c28d439a37bdfd9e14663e9b730d68376c7d491748ca4d1d6d3fa85258b1924c8a9affcb1e89a333171dad WHIRLPOOL 44d35463115a33bbaa06e6fba64771681d1b6665eacc291b96e40ff379ed25d03c10e620f6eae865406bd0d4995162cff748051a696a427ef3667dfdc91fe4b6 EBUILD bfgminer-2.5.0.ebuild 2774 SHA256 c0788808a0f96e4513de1910f15aa2fde8655be88e6b752899c016460f87cff4 SHA512 2e51218b912e1516382273951d36d6705d67d718be1e7476276a7835838f5fa065f241a44b414c987fd863070d1041e67e607f5d119a449d7ca424eb196d6f1e WHIRLPOOL a81e996dce0d1b9f09e72b8ef260398a29b8ac4f050c8bb218cffd120ab3b858ab5e67848670c090786eec4cb517f9ba5cea872192a438287cce990c7359d56c @@ -20,24 +23,25 @@ EBUILD bfgminer-2.5.3.ebuild 2754 SHA256 b492239050e7ad99849a3aac73b070d874a764c EBUILD bfgminer-2.6.5.ebuild 2860 SHA256 e9b7da1f79c75ded1ec707dcec548d07bb99e677395f2b74db2a0893520c2f20 SHA512 1557fb32082aaefcc751dc028918faf496c828da67cb5f3432c41bc567b36a355150f41fabdf8e3f1a0ada0cffb27f9d905a3c0d1c1ece285a8cd231875c0e5d WHIRLPOOL 9e03bd958121ed174c85649c9933589fc5d1f53e1ea44c9228af1db469ab9f59ab21fea8f08f8753c484f6744335c8290c0bbef50829e3efaed7e15b78cda7dc EBUILD bfgminer-2.7.5.ebuild 2860 SHA256 ce45785f4a07e61e80cb67ccb4694ee709945da69f7038e93f0a13d2dfc7107b SHA512 7a6326ae31a6c396d682e6fd8febd3ce69939523dfd8ee5e3647328da36ab166d7c2a29c84c06315c5cf15eb680e596bd39ac74a73b1bac7029fd14dbc7cf108 WHIRLPOOL fc8b85d6211f6248b248fbd89dd35b12f6b9cf59596f4a54b5871301e58f31f915c938b464a59b520a15615e671f1ea5c40ee8b0d8c7ced3d85e0a18b72b4682 EBUILD bfgminer-2.8.7.ebuild 2920 SHA256 f37c04cba8b8eebcc017c5275f7bfe13f1d532a57c4d266d2839e2df98e44f91 SHA512 2eeeef65074e88e2a2239f85d76258aed801a4670e2fa5193f9e343991db21673fb51072ff541d3f0b98a6f2f70b8074d9e5675b93fdcd96ab387f0af680e64e WHIRLPOOL 3e6563175aa698ddab90aedee7572324c1c200ee422a106f587f133730412cbaa33e5f3cb469decefacf39f4311a716105d309eb842a0b854ae36d109c371c9c +EBUILD bfgminer-2.9.10.ebuild 3004 SHA256 38a82203299ff167d7b4f997bd5f0e0bb7bc1f8fbd2321b3877f1eb7f85c9e3e SHA512 1f99c851ad8af6789b15629bb61fd1696a98c28f8108feafd8fcbbc8ca6302ab72b8d140ba3f0c2506fd2761ab7c50667c68d10bd5b226a9e0622a87d03c376e WHIRLPOOL df3d1f931e2136f18533d92bb7d09ec31ad5c7c574d1ca32333e66e339404648abd2637f968f7c2e075b1cf13fcfe37e804a35210c034cd72a468c8ceddfcd79 EBUILD bfgminer-2.9.4.ebuild 3003 SHA256 3dee081a775ea866fd93593acb30d10d116871d6b6f88257e0a9c66e1341117c SHA512 6cb67166b1a1a7ad4fa1e8716bdef784efa987cb46599cf340b82ee428575e4ce87fea6e4bdb2217d3dda1490846612248eefb7037ff708d99835173579ae499 WHIRLPOOL 75fd60eb9c7bce3271687cf06e7987526a6694b42a58ac2950d30a08a0371157d81a023b6855588a3c04d5e2fa94ae94874ad244001b38ef3e31ec572cbb357f EBUILD bfgminer-2.9.7.ebuild 3003 SHA256 04518d33dbeee05761337d726ef7b750792ab489fa09cf66e7d4c45519c3f9ff SHA512 2e1f94656bb6262d4b87d3c21e5a91f13882400b1f4d257df2e4044a59d7d06aa7196d79a99f53df9486b06cb16684b534fd1d3f7913f47f7ae001e118fc4b5c WHIRLPOOL edcfdb65fc2a3a1709f8c41297257b45c06e89e6dcc1d8ef5f02b480843dd9ecff2679b015dbe2fb6bcc15ce7aac4bcfef872b935b2bc1a24905f76090499073 -MISC ChangeLog 6090 SHA256 6ac6b5b192b6da60b78b2b82f064f4e9d78a7cde81984998c436a127bf9f8c45 SHA512 aa9cf645a4ed03c6d3b51611960433c2c71009502b3854ed1ef6d6b85894061c59f5146d4c034a39963e76c402f7f51ee6ac3220ae795cdb2a7e694a1b994929 WHIRLPOOL 9eb952be01c282250f638e197fdaa658edf097f263f8e6978303e61d254245f899c8a068642d132be94985f941cf586a60d3cede6c27fcf37eeb676ca9d1f23e +MISC ChangeLog 6277 SHA256 947569acec7d5794ee68f3b1b24cb788dc05fa281225dcf2a71a30eb7a965ffd SHA512 81f08355333f5f049f0afe74a716cba0cbe5d4c9bbbe5b12d064b52a4b67547b1bf07e77c2f340315bf0c01b937cf152ecca4749b6ffdb490190d0e7a7efced5 WHIRLPOOL 71a162ddd753dbd2c409fea6a9d13b36da848fe1270966586f54850f16991ad3f50c146f941882777929765f1f5124d8b0c6eef955e094b3caefe5a31c4386f5 MISC metadata.xml 1318 SHA256 afedc304b6ff397a6cec12649d9b5f45154d3105fa1e2466a1b38f6e011fa5a0 SHA512 89e4e6ae835eea7a6e412f74a8229337908c6d2be1d9a5d823d2e8a9ff6b3ad3e942cf8d3c3c0a91b2eddb50962dbea2e31a0a655a04bbe09fc25a1fcdb160dd WHIRLPOOL d8c61e0131d1fac8f91a7ca19b55743810bfa5fdcd3a24aa570403ded162213f63d3e102d08ab71bcbd6271408907a84905de6a51776773496a85d6b4f9b73d8 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCAAGBQJQ5jqNAAoJEJOE+m71LUu6M4wP/0ekbyLb1qLFFYNnM2wa9XfU -R7GRkdorPj4JlWy3PgyDfj6rUS2rgn1g4nu7v7WzxhTNoyFc/2+kZGD16fJGiH/U -++v/fZ5fPvi3L6Dg8GYZSqytYIWx39tgUIs88rz0eva3C15L6q2bHFa7fjMobzM3 -4apyAld318Vd1I1Dz4tL1AjYctJFMdX0YOsF1mxMtvl/ESNNz7L7tbxTB7grbypi -xy3hqCBw8Fx7cigFNqxhBNzniUxtqZL4CzM7X/MvliKn5lCHxV4SOmtmGY9lKDvg -cr6j/uj0g7MSLkwMl3hRHkgkip1P6clyDwH6fTZJ/zI4W7GUrubLOzwX2Mlgi4XD -PSD1eLSGI/7tLCJkoYSik1thoKx3z7q4MYQI2+HPwVV/2czA6H9f0+KTQ3k2VnPa -XuCbf9enVhPRQIhsPvIeiALFNJ6KsImid0J+V3NQhrCMV5A3KcJlzRgl3G+MgpeG -dQwb6WKnQruf7rbDPzmCI/HvA9M6pcncUBvbTBY5H0EMbNKTzZpriWQEvtsig7wR -aWC3g8Jh+5NYVRnpihIEw2AvxUERTDyHSDt/V/tERPhGSZ+Yv6GPo1j4kmaZKj00 -HR2n90YKh0ht7Y4/9138LeYUUd4oIR/IaZ+baqYtgSRrQY+K8HYhXQ5cGa6c24SJ -xCD4RvZ32dEmssznUz+3 -=9G8Q +iQIcBAEBCAAGBQJRI33bAAoJEJOE+m71LUu6NkYQAIS7dyHgKIOyXP/tHeydU49K +ORoOJyfUD7y8nf3YxhgS/uhzBC10L4n01L5htv6RZ4//kVFexNtEn6rmBqku3UhE +czvQkQKfAIR7i+jmSellnol29/IBrUBJNP2O8MLZMK1on5TXiDdEKWTWQDzOCPCD +n7jnZpE2F9fKe4AQd7RMEnSDZP2XX6+pVvbDiln5W1C0XxyVfxRqVR/g2iKHroHn +a7PlQzHRhaAYTgXg1LGHi/s1yfJP7odIIvzM9cbqz0dh9chgX3LCfONgeZ9Bgj59 +lUfWyXKkfd1g4Pq4Fl/upjw5BD7ey9muQjZ++9CWbeqc7vlIT/Z/ug8uG/dftR3u +HDC/GkuPSgQ/nylSnpwA6ESj1ajLscTnc8DIc1o6+rfgxbg347KudFQBETqQWybF +YBdS2mQUnw4+uDbcvqTd1q37bCAnm7bPVJ/RZharu2I+wxm+tfWe59rcTYt4rreP +x+qqZdrBAsKJYfTD0tdmOqFS8K2EGJMw6mgQglK3VfO1WLbrOjPaWmHP3FadQg0l +TpsKlgQ5C9hWF7dzt+AQK50QUFYw2+o1FQ8uQWt/8kh2VpHl3Wt1EzTv9Y8pa1Xl +/3s7jCrqXskPYrLu7yJ0cIt9J95Cn/GoZPYD3I3r583FHZQ+J/eNyg7Ixe1S26Fn +5LT+AazWOo0afIYYdF5E +=2aJi -----END PGP SIGNATURE----- diff --git a/net-misc/bfgminer/bfgminer-2.10.5.ebuild b/net-misc/bfgminer/bfgminer-2.10.5.ebuild new file mode 100644 index 000000000000..3bf61c65a5da --- /dev/null +++ b/net-misc/bfgminer/bfgminer-2.10.5.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-2.10.5.ebuild,v 1.1 2013/02/19 13:27:58 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="~amd64 ~x86" + +IUSE="+adl altivec bitforce +cpumining examples hardened icarus modminer ncurses +opencl padlock scrypt sse2 sse2_4way sse4 +udev x6500 ztex" +REQUIRED_USE=" + || ( bitforce cpumining icarus modminer opencl x6500 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-2 + udev? ( + virtual/udev + ) + x6500? ( + virtual/libusb:1 + ) + ztex? ( + virtual/libusb:1 + ) +" +RDEPEND="${DEPEND} + opencl? ( + virtual/opencl + ) +" +DEPEND="${DEPEND} + virtual/pkgconfig + sys-apps/sed + 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 +} + +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 x6500) \ + $(use_enable ztex) + # sanitize directories + sed -i 's~^\(\#define CGMINER_PREFIX \).*$~\1"'"${EPREFIX}/usr/lib/bfgminer"'"~' config.h +} + +src_install() { + dobin bfgminer + dobin bfgminer-rpc + 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 bitforce; then + dobin bitforce-firmware-flash + fi + if use modminer || use x6500; then + insinto /usr/lib/bfgminer/bitstreams + doins bitstreams/fpgaminer*.bit + 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/ztex*.bit + dodoc bitstreams/COPYING_ztex + fi + if use examples; then + docinto examples + dodoc api-example.php miner.php API.java api-example.c + fi + cd libblkmaker + emake DESTDIR="$D" install +} diff --git a/net-misc/bfgminer/bfgminer-2.9.10.ebuild b/net-misc/bfgminer/bfgminer-2.9.10.ebuild new file mode 100644 index 000000000000..f57f79eaed34 --- /dev/null +++ b/net-misc/bfgminer/bfgminer-2.9.10.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-2.9.10.ebuild,v 1.1 2013/02/19 13:27:58 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="~amd64 ~x86" + +IUSE="+adl altivec bitforce +cpumining examples hardened icarus modminer ncurses +opencl padlock scrypt sse2 sse2_4way sse4 +udev x6500 ztex" +REQUIRED_USE=" + || ( bitforce cpumining icarus modminer opencl x6500 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-2 + udev? ( + virtual/udev + ) + x6500? ( + virtual/libusb:1 + ) + ztex? ( + virtual/libusb:1 + ) +" +RDEPEND="${DEPEND} + opencl? ( + virtual/opencl + ) +" +DEPEND="${DEPEND} + virtual/pkgconfig + sys-apps/sed + 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 +} + +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 x6500) \ + $(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 bitforce; then + dobin bitforce-firmware-flash + fi + if use modminer || use x6500; then + insinto /usr/lib/bfgminer/bitstreams + doins bitstreams/fpgaminer*.bit + 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/ztex*.bit + dodoc bitstreams/COPYING_ztex + fi + if use examples; then + docinto examples + dodoc api-example.php miner.php API.java api-example.c + fi + cd libblkmaker + emake DESTDIR="$D" install +} |