diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-04-02 13:03:19 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-04-02 13:03:19 +0000 |
commit | a23f3dca7c4400e80b74729efd3a71917fdc63f0 (patch) | |
tree | 47506af591d6c0944df9eaba7afe5808794de4d4 /net-misc/cgminer | |
parent | Version bump for dev channel release. Remove old. (diff) | |
download | historical-a23f3dca7c4400e80b74729efd3a71917fdc63f0.tar.gz historical-a23f3dca7c4400e80b74729efd3a71917fdc63f0.tar.bz2 historical-a23f3dca7c4400e80b74729efd3a71917fdc63f0.zip |
Version bump
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'net-misc/cgminer')
-rw-r--r-- | net-misc/cgminer/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/cgminer/Manifest | 10 | ||||
-rw-r--r-- | net-misc/cgminer/cgminer-2.3.2.ebuild | 104 |
3 files changed, 115 insertions, 4 deletions
diff --git a/net-misc/cgminer/ChangeLog b/net-misc/cgminer/ChangeLog index cd4691ceebf0..5deb4b466497 100644 --- a/net-misc/cgminer/ChangeLog +++ b/net-misc/cgminer/ChangeLog @@ -1,5 +1,10 @@ +*cgminer-2.3.2 (02 Apr 2012) + + 02 Apr 2012; Anthony G. Basile <blueness@gentoo.org> +cgminer-2.3.2.ebuild: + Version bump + *cgminer-2.3.1.2 (24 Feb 2012) 24 Feb 2012; Anthony G. Basile <blueness@gentoo.org> cgminer-2.3.0.ebuild, diff --git a/net-misc/cgminer/Manifest b/net-misc/cgminer/Manifest index 1d8314d0a323..508490555f7a 100644 --- a/net-misc/cgminer/Manifest +++ b/net-misc/cgminer/Manifest @@ -3,14 +3,16 @@ Hash: SHA256 DIST cgminer-2.3.0-1.tar.bz2 403347 RMD160 ead1c245efca9f6bb149a30ab1134bb174a5e8cd SHA1 6e0700619bcf559a6895db7a6a30b20f70c18c54 SHA256 4412eeb90e265331884363656ebc4c5272f16552284cc509e59f0b67867c7f8c DIST cgminer-2.3.1-2.tar.bz2 405682 RMD160 29bf3d8f3b5174787ce0959effd20c2b9345eb86 SHA1 abf633af4e49a6ca1885b52ed63f83940b6d10cd SHA256 6eb7436552731ae09712dfae7119d7d9ed741a733f0f7e85cd3f69356f721c6c +DIST cgminer-2.3.2.tar.bz2 415745 RMD160 77f96ba660e5594b1284226d1aac5a75c90c1009 SHA1 25b937ece784ce2e8a17ff59b916e0c6dbfd8acf SHA256 7debbfbf863821cd357b2fbc689291d44c80a3c685d66a30ee7da702d5f14a40 EBUILD cgminer-2.3.0.ebuild 2196 RMD160 48ccbd739f5b85e77d463a0d0c44ffd2d1490d82 SHA1 b0ee079b32b053ccd1f8504972bc17150eaa1c2b SHA256 be7cf2a293c45d83f006530cc98aa8075c7d5646d3d8179561d2d3e9d95ec94e EBUILD cgminer-2.3.1.2.ebuild 2299 RMD160 3d8f5833efe21e21abddbd73225f2643537dc646 SHA1 50d09da7dc5694045788226cb4a67204432dedc7 SHA256 9f600fd5bfcfb7028fbf95f69139259850db913146eb08d5cf2fdcb1d662eb7b -MISC ChangeLog 479 RMD160 9381a9da6afa0e5d379321bc3ea8ac345f8a19c0 SHA1 b76f61c579086227e9912cce0dfd9f313b145b4e SHA256 e7511513ac95036179c8990fb64b4ff4b5e8674f0f35473594d3ba4431184c3b +EBUILD cgminer-2.3.2.ebuild 2352 RMD160 1bee9eba369bd6091bb1aa9b50a9fbfa58fb3045 SHA1 e08734e83e203147a3afc4f014416550b77d987c SHA256 166cc143393c9603f7e7b17a57c0cd328e8a01cb991bcfc1c4f66d640b8caef0 +MISC ChangeLog 603 RMD160 53c14520a96c845183874a9e4918203863b440fc SHA1 7ba813faaaf696abc4399ea1dbb1a11238387395 SHA256 11243c5ab89b852f0cef1b5b6e5f2fefdec72b055bb2997f03b3892951412e3c MISC metadata.xml 1029 RMD160 e6ef7baa3cc2ecc3d05d3e88144b5695526c1bb0 SHA1 e90d5b0e00c0a3fffa78f29f767f90c64ae08771 SHA256 1f69c56368e73b6ab2b9f077f0c86a97381b938c4a57faefa72188c1497ea1bc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEAREIAAYFAk9ICIsACgkQl5yvQNBFVTWTDQCfcu14Kfr9LTfBn7Dg5OCLY79y -6BEAn0mU8S/UwW5VoRZqrtPJcx5MHBj3 -=kt31 +iEYEAREIAAYFAk95o6EACgkQl5yvQNBFVTVD0gCeO0iNWgn9YgEhwkrt4QbK09dz +fW4AnjB4dndprtAKlX/rAYFnR6rcCj+j +=ARSh -----END PGP SIGNATURE----- diff --git a/net-misc/cgminer/cgminer-2.3.2.ebuild b/net-misc/cgminer/cgminer-2.3.2.ebuild new file mode 100644 index 000000000000..3bd169150d55 --- /dev/null +++ b/net-misc/cgminer/cgminer-2.3.2.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/cgminer/cgminer-2.3.2.ebuild,v 1.1 2012/04/02 13:03:19 blueness Exp $ + +EAPI="4" + +inherit versionator + +MY_PV="$(replace_version_separator 3 -)" +S="${WORKDIR}/${PN}-${MY_PV}" + +DESCRIPTION="Bitcoin CPU/GPU/FPGA miner in C" +HOMEPAGE="https://bitcointalk.org/index.php?topic=28402.0" +SRC_URI="http://ck.kolivas.org/apps/${PN}/${PN}-${MY_PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +IUSE="+adl altivec bitforce +cpumining examples hardened icarus ncurses +opencl padlock sse2 sse2_4way sse4" +REQUIRED_USE=" + || ( bitforce cpumining icarus opencl ) + 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 + opencl? ( + virtual/opencl + ) +" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + dev-util/pkgconfig + sys-apps/sed + adl? ( + x11-libs/amd-adl-sdk + ) + 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) + if use opencl; then + # sanitize directories + sed -i 's/^(\#define CGMINER_PREFIX ).*$/\1"'"${EPREFIX}/usr/share/cgminer"'"/' config.h + fi +} + +src_install() { + dobin cgminer + dodoc AUTHORS NEWS README + if use opencl; then + insinto /usr/share/cgminer + doins *.cl + fi + if use examples; then + docinto examples + dodoc api-example.php miner.php API.java api-example.c + fi +} |