diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-04-29 13:24:08 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-04-29 13:24:08 +0000 |
commit | 78468531c46191d8c5df1f7be2ba1bbcd3cd6fe2 (patch) | |
tree | 20f806e15b2f7e9e3eaa41ad6daef60bd1d3540f /net-misc | |
parent | Version bump (diff) | |
download | historical-78468531c46191d8c5df1f7be2ba1bbcd3cd6fe2.tar.gz historical-78468531c46191d8c5df1f7be2ba1bbcd3cd6fe2.tar.bz2 historical-78468531c46191d8c5df1f7be2ba1bbcd3cd6fe2.zip |
Version bump
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/bfgminer/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/bfgminer/Manifest | 10 | ||||
-rw-r--r-- | net-misc/bfgminer/bfgminer-2.3.6.ebuild | 116 |
3 files changed, 128 insertions, 5 deletions
diff --git a/net-misc/bfgminer/ChangeLog b/net-misc/bfgminer/ChangeLog index 81e2d17d7f55..0d2a9df3179c 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.3 2012/04/28 14:22:15 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.4 2012/04/29 13:24:08 blueness Exp $ + +*bfgminer-2.3.6 (29 Apr 2012) + + 29 Apr 2012; Anthony G. Basile <blueness@gentoo.org> +bfgminer-2.3.6.ebuild: + Version bump *bfgminer-2.3.5 (28 Apr 2012) diff --git a/net-misc/bfgminer/Manifest b/net-misc/bfgminer/Manifest index 7d39e030151d..82cacf530700 100644 --- a/net-misc/bfgminer/Manifest +++ b/net-misc/bfgminer/Manifest @@ -4,14 +4,16 @@ 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 EBUILD bfgminer-2.3.4.ebuild 2701 RMD160 78900f14b25cab6ec33d2cbea63f5b513a387b62 SHA1 f640d2979adb14773938bafee2e0101e995758e2 SHA256 d926f88bb8c502c1228e4ea2e88d68e089878e1abda21225db23cd41da221b8c EBUILD bfgminer-2.3.5.ebuild 2616 RMD160 ed0eb30481a3430a46c44ef6ed7e966a112c9d1f SHA1 798a3462bc5ea3ae45435c62f98e64a9d08c7081 SHA256 794d04985b6827af9b307fef7b5f9828c4777ac9e4cca9a2bd3dd2ea0a0efb0e -MISC ChangeLog 697 RMD160 b4dcf97ea90c6b37d93ef9a0a71dfdcd90080a68 SHA1 d8a6204ba7daf693ea4286b44ee612dec20556a5 SHA256 0951101ff1ecf2ed9e35357c4ff567f7bb4824ed9342805014deb167f0eb6c20 +EBUILD bfgminer-2.3.6.ebuild 2616 RMD160 4b2a9859742ccf6d8ce1a938a47fe98aebb89550 SHA1 669af927bac31a690292a0e2fa55aa3d9dec25b2 SHA256 cca9630ba622986c33749c49f1387ee6687e7fe5849620e20c536ecd47297262 +MISC ChangeLog 823 RMD160 0dca997a4a5854970b73d2ee1267c7c95652317a SHA1 07843b697e59e612798f8e409fbac88608933a26 SHA256 6475b0de8081eae29d5364599a25fe381c57ff226472ccb71427bfca377be693 MISC metadata.xml 1098 RMD160 904e475c1965aa37f4397638ad43dbd6b7a1e444 SHA1 2b514f0d72d7c632709394f425b114fcca98e75b SHA256 6f3db428a82a08e50d3debb30909210c4682aba7b258233cc961708f17f6ca65 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREIAAYFAk+b/SEACgkQl5yvQNBFVTVPBgCdH96fqRMBHQQ/32RaTzRv7twG -CQAAoJdnSElJKD3HBkdAUg3U67YT6eZA -=Zy55 +iEYEAREIAAYFAk+dQQMACgkQl5yvQNBFVTUDOgCfeywBXouV1CmBTrsSl6yWZSra +vicAn3d4TXzUSebFa9BFYCtYZo6EFuQg +=cHwA -----END PGP SIGNATURE----- diff --git a/net-misc/bfgminer/bfgminer-2.3.6.ebuild b/net-misc/bfgminer/bfgminer-2.3.6.ebuild new file mode 100644 index 000000000000..44f4b37a6ba8 --- /dev/null +++ b/net-misc/bfgminer/bfgminer-2.3.6.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.3.6.ebuild,v 1.1 2012/04/29 13:24:08 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} + dev-util/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 +} |