diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/cgminer |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/cgminer')
-rw-r--r-- | net-misc/cgminer/Manifest | 7 | ||||
-rw-r--r-- | net-misc/cgminer/cgminer-4.10.0.ebuild | 87 | ||||
-rw-r--r-- | net-misc/cgminer/cgminer-4.9.2.ebuild | 85 | ||||
-rw-r--r-- | net-misc/cgminer/metadata.xml | 46 |
4 files changed, 225 insertions, 0 deletions
diff --git a/net-misc/cgminer/Manifest b/net-misc/cgminer/Manifest new file mode 100644 index 000000000000..81b471f0ccba --- /dev/null +++ b/net-misc/cgminer/Manifest @@ -0,0 +1,7 @@ +DIST cgminer-4.10.0.tar.bz2 1306225 SHA256 debd49291f8335b48496896dc28a43f941d1c981525950497acc89d0d5fc1e84 SHA512 ed39bffa51715756875c101f4aaf984cab566fc1c8b657f6da37d0cdf921faee752c3efadf97c98ca6e749175457fbc2c37e9332cd26d2ff1675752250ac21db WHIRLPOOL 846af94146146809c6d7e150dc0aa26388a9a52f1ec91e4b26fd0191b426db0fa42229a896c65b566147283c97af243f51f9b452f1bbf535a04ab507d6b3195c +DIST cgminer-4.9.2.tar.bz2 1476371 SHA256 7a94719c520c3ebd96fee65e2f737e87c9ae70c8e21865ee0ce16ac9b02e6e62 SHA512 48371657c84f09ad8c500a29ca85f35af70eb8720d9d97b565cd8c5356289d889ee60c06f37c0507a53c8f50ae827a77fa0c41609bac6b1e8849ad26b55d67d4 WHIRLPOOL bc1827049171683a7bae77b7693cf579cc18523dd1db1d54c3de41f3c81d6786f749dcee6e6e74c54ce7aceb5b946d357f8c04ded2d02dc40faddadcb015b828 +EBUILD cgminer-4.10.0.ebuild 2471 SHA256 f32372bfde888df2f79bb3d5eebce16d6fcfbdf1f8be9da14d30661bef1ed7f5 SHA512 483a4d06c95291b8d6fd0bc94be4232bc24e7b75055ac370084db4bdb9acf3ac5add77c30a9eab4f2e1109c54b48c2db96253756a383b908546d296c9e3a08d8 WHIRLPOOL 5ed525c8346ac6cfcf465658184429646d7ccbd556a550096924a5ccf453bc2c5ee8dd5e058331a4e3c7b867aca6793df271ede030c99cb409d59f55a91311eb +EBUILD cgminer-4.9.2.ebuild 2393 SHA256 7e138fb8288174639bb170e09d435a78f4d46eadc480e65bfeed1d49894d9973 SHA512 0061ff81671e80f694ea85fa7305fdceaa8af4038734fc619cb63e5e15b08474674b0dfb1ba7fff0e0db92c68b7eac119c1ad7ac083daaaa40a90dd2cc0de120 WHIRLPOOL b20d111afc51c3e3bfb17ad5f875b52e65946c16dc6262792e65decea6f7825d3e90cee759bdec45169f3877fc29d950fb7d81962e7b006c7adcfe313efc4a91 +MISC ChangeLog 3087 SHA256 ede484a67a3c8a5dbaaae3b782d6b282965f8b4dcc4d835d080b18b6c55c7479 SHA512 000c7bcbe57204b46d41c2f5e828a94cf0cd65ca7bb8168fa7a30f94532550fff277272b1618095fca177dd24f48db2958230665cf25ac411775d3ccebc2f650 WHIRLPOOL 885dfa86848629311fe3b014c87127f0467319259dcdb5807e3a61a8bdfb4d404ea6a83491ec75599baf009326b05d784b8844f6e4342e4989e61705efa86c16 +MISC ChangeLog-2015 14519 SHA256 9bba0bc9e4b38aff2a2bb677f31f9f1fe9fe43c25618ac2814f65d5906da4e8d SHA512 79fb4e6053f19d5f7b021f63ac52138fbc0f203b85e3be151249086a985b3dd2af95c4e9e2e9386e9236580e7a97c5756b91d0b7d60d00c6fb85d70343d1ae23 WHIRLPOOL 76caf591b59c88188c43da91065b3efc20ef82a5a0e2ca6ba66e7d5e0611b27c685859fdbb6c16bfc70b6f2ef91e9063bc5a8577ebf4d797faa51f16d4fd8411 +MISC metadata.xml 2382 SHA256 5b6d3d715a1fcea1ed1709a125b1e3c7b0aad84a71cf8ec94fa1c03b0eefe83a SHA512 770e9bc5a34c7ee0efaf9ce697bfe84d3c5f46929c4ab394c049cd483bcc0d4057da8e0b068520de037074a5384ea06cecb688a92f8b6d3bd0a581553424fcd7 WHIRLPOOL dec4c740e753639fc944c6b6c0c29ce4fcb20e11ac7dc0d76ed1df1a2612149f5b56c1abb787afa0a7ea6ec0cb482250ce80ac56ac5a20f277bce4c9c768f7ed diff --git a/net-misc/cgminer/cgminer-4.10.0.ebuild b/net-misc/cgminer/cgminer-4.10.0.ebuild new file mode 100644 index 000000000000..2cfb7edf4ec1 --- /dev/null +++ b/net-misc/cgminer/cgminer-4.10.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic + +DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C" +HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 https://github.com/ckolivas/cgminer" +SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2" +#SRC_URI="http://ck.kolivas.org/apps/cgminer/4.5/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +HARDWARE="ants1 ants2 ants3 avalon avalon2 avalon4 avalon7 avalon-miner bab bflsc bitforce bitfury bitmine_A1 blockerupter cointerra drillbit hashfast hashratio icarus klondike knc minion modminer sp10 sp30" +IUSE="doc examples udev hardened ncurses ${HARDWARE}" + +REQUIRED_USE="|| ( ${HARDWARE} )" + +RDEPEND="net-misc/curl + >=dev-libs/jansson-2.6 + virtual/libusb:1[udev] + ncurses? ( sys-libs/ncurses:0= ) + udev? ( virtual/libudev )" +DEPEND="virtual/pkgconfig + ${RDEPEND}" + +src_configure() { + use hardened && append-cflags "-nopie" + + # PKG_CHECK_MODULES needs PKG_CONFIG for --with-system-jansson. + export PKG_CONFIG=/usr/bin/pkg-config + econf $(use_with ncurses curses) \ + $(use_enable ants1) \ + $(use_enable ants2) \ + $(use_enable ants3) \ + $(use_enable avalon) \ + $(use_enable avalon2) \ + $(use_enable avalon4) \ + $(use_enable avalon7) \ + $(use_enable avalon-miner) \ + $(use_enable bab) \ + $(use_enable bitmine_A1) \ + $(use_enable bflsc) \ + $(use_enable bitforce) \ + $(use_enable bitfury) \ + $(use_enable blockerupter) \ + $(use_enable cointerra) \ + $(use_enable drillbit) \ + $(use_enable hashfast) \ + $(use_enable hashratio) \ + $(use_enable icarus) \ + $(use_enable klondike) \ + $(use_enable knc) \ + $(use_enable minion) \ + $(use_enable modminer) \ + $(use_enable sp10) \ + $(use_enable sp30) \ + $(use_enable udev) \ + --disable-forcecombo \ + --with-system-libusb \ + --with-system-jansson + # 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 udev; then + insinto /lib/udev/rules.d + use udev && doins 01-cgminer.rules + fi + + 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 examples; then + docinto examples + dodoc api-example.php miner.php API.java api-example.c example.conf + fi +} diff --git a/net-misc/cgminer/cgminer-4.9.2.ebuild b/net-misc/cgminer/cgminer-4.9.2.ebuild new file mode 100644 index 000000000000..5f46b8c57d24 --- /dev/null +++ b/net-misc/cgminer/cgminer-4.9.2.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils flag-o-matic + +DESCRIPTION="Bitcoin CPU/GPU/FPGA/ASIC miner in C" +HOMEPAGE="http://bitcointalk.org/?topic=28402.msg357369 https://github.com/ckolivas/cgminer" +SRC_URI="http://ck.kolivas.org/apps/cgminer/${P}.tar.bz2" +#SRC_URI="http://ck.kolivas.org/apps/cgminer/4.5/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +HARDWARE="ants1 ants2 ants3 avalon avalon2 avalon4 bab bflsc bitforce bitfury bitmine_A1 blockerupter cointerra drillbit hashfast hashratio icarus klondike knc minion modminer sp10 sp30" +IUSE="doc examples udev hardened ncurses ${HARDWARE}" + +REQUIRED_USE="|| ( ${HARDWARE} )" + +RDEPEND="net-misc/curl + >=dev-libs/jansson-2.6 + virtual/libusb:1[udev] + ncurses? ( sys-libs/ncurses:0= ) + udev? ( virtual/libudev )" +DEPEND="virtual/pkgconfig + ${RDEPEND}" + +src_configure() { + use hardened && append-cflags "-nopie" + + # PKG_CHECK_MODULES needs PKG_CONFIG for --with-system-jansson. + export PKG_CONFIG=/usr/bin/pkg-config + econf $(use_with ncurses curses) \ + $(use_enable ants1) \ + $(use_enable ants2) \ + $(use_enable ants3) \ + $(use_enable avalon) \ + $(use_enable avalon2) \ + $(use_enable avalon4) \ + $(use_enable bab) \ + $(use_enable bitmine_A1) \ + $(use_enable bflsc) \ + $(use_enable bitforce) \ + $(use_enable bitfury) \ + $(use_enable blockerupter) \ + $(use_enable cointerra) \ + $(use_enable drillbit) \ + $(use_enable hashfast) \ + $(use_enable hashratio) \ + $(use_enable icarus) \ + $(use_enable klondike) \ + $(use_enable knc) \ + $(use_enable minion) \ + $(use_enable modminer) \ + $(use_enable sp10) \ + $(use_enable sp30) \ + $(use_enable udev) \ + --disable-forcecombo \ + --with-system-libusb \ + --with-system-jansson + # 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 udev; then + insinto /lib/udev/rules.d + use udev && doins 01-cgminer.rules + fi + + 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 examples; then + docinto examples + dodoc api-example.php miner.php API.java api-example.c example.conf + fi +} diff --git a/net-misc/cgminer/metadata.xml b/net-misc/cgminer/metadata.xml new file mode 100644 index 000000000000..63f03907d2d1 --- /dev/null +++ b/net-misc/cgminer/metadata.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ki@baka.bakka.su</email> + <description>In baka-bakka overlay.</description> + </maintainer> + <maintainer type="person"> + <email>blueness@gentoo.org</email> + <name>Anthony G. Basile</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="ants1">Enable support for Antminer S1 Bitmain</flag> + <flag name="ants2">Enable support for Antminer S2 Bitmain</flag> + <flag name="ants3">Enable support for Antminer S3 Bitmain</flag> + <flag name="avalon">Enable support for Avalon ASICs</flag> + <flag name="avalon2">Enable support for Avalon2 ASICs</flag> + <flag name="avalon4">Enable support for Avalon4 ASICs</flag> + <flag name="avalon7">Enable support for Avalon7 ASICs</flag> + <flag name="avalon-miner">Enable support for Avalon miner ASICs</flag> + <flag name="bab">Enable support for BlackArrow Bitfury</flag> + <flag name="bflsc">Enable support for BFL ASICs</flag> + <flag name="bitforce">Enable support for mining with ButterFly Labs BitFORCE FPGAs</flag> + <flag name="bitfury">Enable support for mining with BitFury ASICs</flag> + <flag name="bitmine_A1">Enable support for mining with Bitmine.ch A1 ASICs</flag> + <flag name="blockerupter">Enable support for mining with BlockRupter ASICs</flag> + <flag name="cointerra">Enable support for mining with Cointerra ASICs</flag> + <flag name="drillbit">Enable support for mining with Drillbit BitFury ASICs</flag> + <flag name="hashfast">Enable support for mining with Hashfast</flag> + <flag name="hashratio">Enable support for mining with Hashratio</flag> + <flag name="icarus">Enable support for mining with Icarus FPGAs</flag> + <flag name="klondike">Enable support for mining with Klondik ASICs</flag> + <flag name="knc">Enable support for mining with KnC miners</flag> + <flag name="minion">Enable support for mining with BlackArrow Bitfury </flag> + <flag name="modminer">Enable support for mining with ModMiner FPGAs</flag> + <flag name="sp10">Enable support for Spondoolies SP10</flag> + <flag name="sp30">Enable support for Spondoolies SP30</flag> + </use> + <upstream> + <remote-id type="github">ckolivas/cgminer</remote-id> + </upstream> +</pkgmetadata> |