summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-01-04 02:06:10 +0000
committerAnthony G. Basile <blueness@gentoo.org>2013-01-04 02:06:10 +0000
commit23b8dd5faf0a09911781108217c160f37255e6ac (patch)
tree6b5dac8345cdf9975b943f2ec74b5d016e032bba /net-misc/bfgminer
parentUse correct header. (diff)
downloadgentoo-2-23b8dd5faf0a09911781108217c160f37255e6ac.tar.gz
gentoo-2-23b8dd5faf0a09911781108217c160f37255e6ac.tar.bz2
gentoo-2-23b8dd5faf0a09911781108217c160f37255e6ac.zip
Version bump, remove older
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'net-misc/bfgminer')
-rw-r--r--net-misc/bfgminer/ChangeLog13
-rw-r--r--net-misc/bfgminer/bfgminer-2.6.1.ebuild127
-rw-r--r--net-misc/bfgminer/bfgminer-2.6.3.ebuild127
-rw-r--r--net-misc/bfgminer/bfgminer-2.6.4.ebuild123
-rw-r--r--net-misc/bfgminer/bfgminer-2.7.0.ebuild126
-rw-r--r--net-misc/bfgminer/bfgminer-2.8.0.ebuild128
-rw-r--r--net-misc/bfgminer/bfgminer-2.8.3.ebuild128
-rw-r--r--net-misc/bfgminer/bfgminer-2.8.4.ebuild128
-rw-r--r--net-misc/bfgminer/bfgminer-2.8.6.ebuild128
-rw-r--r--net-misc/bfgminer/bfgminer-2.9.0.ebuild132
-rw-r--r--net-misc/bfgminer/bfgminer-2.9.1.ebuild132
-rw-r--r--net-misc/bfgminer/bfgminer-2.9.7.ebuild (renamed from net-misc/bfgminer/bfgminer-2.9.3.ebuild)4
12 files changed, 13 insertions, 1283 deletions
diff --git a/net-misc/bfgminer/ChangeLog b/net-misc/bfgminer/ChangeLog
index 93482a778d2a..223d1b8e3899 100644
--- a/net-misc/bfgminer/ChangeLog
+++ b/net-misc/bfgminer/ChangeLog
@@ -1,6 +1,15 @@
# 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.30 2012/12/06 13:54:24 blueness Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/ChangeLog,v 1.31 2013/01/04 02:06:10 blueness Exp $
+
+*bfgminer-2.9.7 (04 Jan 2013)
+
+ 04 Jan 2013; Anthony G. Basile <blueness@gentoo.org> +bfgminer-2.9.7.ebuild,
+ -bfgminer-2.6.1.ebuild, -bfgminer-2.6.3.ebuild, -bfgminer-2.6.4.ebuild,
+ -bfgminer-2.7.0.ebuild, -bfgminer-2.8.0.ebuild, -bfgminer-2.8.3.ebuild,
+ -bfgminer-2.8.4.ebuild, -bfgminer-2.8.6.ebuild, -bfgminer-2.9.0.ebuild,
+ -bfgminer-2.9.1.ebuild, -bfgminer-2.9.3.ebuild:
+ Version bump, remove older
06 Dec 2012; Anthony G. Basile <blueness@gentoo.org> bfgminer-2.8.6.ebuild,
bfgminer-2.8.7.ebuild, bfgminer-2.9.3.ebuild, bfgminer-2.9.4.ebuild:
diff --git a/net-misc/bfgminer/bfgminer-2.6.1.ebuild b/net-misc/bfgminer/bfgminer-2.6.1.ebuild
deleted file mode 100644
index 20b8e76a9e6c..000000000000
--- a/net-misc/bfgminer/bfgminer-2.6.1.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# 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.6.1.ebuild,v 1.4 2012/12/03 02:26:16 ssuominen 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 modminer ncurses +opencl padlock scrypt sse2 sse2_4way sse4 +udev ztex"
-REQUIRED_USE="
- || ( bitforce cpumining icarus modminer opencl 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
- udev? (
- virtual/udev
- )
- ztex? (
- virtual/libusb:1
- )
-"
-RDEPEND="${DEPEND}
- opencl? (
- virtual/opencl
- )
-"
-DEPEND="${DEPEND}
- virtual/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_enable modminer) \
- $(use_with ncurses curses) \
- $(use_enable opencl) \
- $(use_enable scrypt) \
- $(use_with udev libudev) \
- $(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 modminer; then
- insinto /usr/lib/bfgminer/modminer
- doins bitstreams/*.ncd
- 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/*.bit
- dodoc bitstreams/COPYING_ztex
- fi
- if use examples; then
- docinto examples
- dodoc api-example.php miner.php API.java api-example.c
- fi
-}
diff --git a/net-misc/bfgminer/bfgminer-2.6.3.ebuild b/net-misc/bfgminer/bfgminer-2.6.3.ebuild
deleted file mode 100644
index cc853901008b..000000000000
--- a/net-misc/bfgminer/bfgminer-2.6.3.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# 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.6.3.ebuild,v 1.3 2012/12/03 02:26:16 ssuominen 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 ztex"
-REQUIRED_USE="
- || ( bitforce cpumining icarus modminer opencl 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
- udev? (
- virtual/udev
- )
- ztex? (
- virtual/libusb:1
- )
-"
-RDEPEND="${DEPEND}
- opencl? (
- virtual/opencl
- )
-"
-DEPEND="${DEPEND}
- virtual/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_enable modminer) \
- $(use_with ncurses curses) \
- $(use_enable opencl) \
- $(use_enable scrypt) \
- $(use_with udev libudev) \
- $(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 modminer; then
- insinto /usr/lib/bfgminer/modminer
- doins bitstreams/*.ncd
- 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/*.bit
- dodoc bitstreams/COPYING_ztex
- fi
- if use examples; then
- docinto examples
- dodoc api-example.php miner.php API.java api-example.c
- fi
-}
diff --git a/net-misc/bfgminer/bfgminer-2.6.4.ebuild b/net-misc/bfgminer/bfgminer-2.6.4.ebuild
deleted file mode 100644
index f1336e48cff7..000000000000
--- a/net-misc/bfgminer/bfgminer-2.6.4.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# 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.6.4.ebuild,v 1.2 2012/12/03 02:26:16 ssuominen 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 ztex"
-REQUIRED_USE="
- || ( bitforce cpumining icarus modminer opencl 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
- udev? (
- virtual/udev
- )
- 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 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 modminer; then
- insinto /usr/lib/bfgminer/modminer
- doins bitstreams/*.ncd
- 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/*.bit
- dodoc bitstreams/COPYING_ztex
- fi
- if use examples; then
- docinto examples
- dodoc api-example.php miner.php API.java api-example.c
- fi
-}
diff --git a/net-misc/bfgminer/bfgminer-2.7.0.ebuild b/net-misc/bfgminer/bfgminer-2.7.0.ebuild
deleted file mode 100644
index 226b66c069d4..000000000000
--- a/net-misc/bfgminer/bfgminer-2.7.0.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# 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.7.0.ebuild,v 1.2 2012/12/03 02:26:16 ssuominen 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 ztex"
-REQUIRED_USE="
- || ( bitforce cpumining icarus modminer opencl 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
- udev? (
- virtual/udev
- )
- 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 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; then
- insinto /usr/lib/bfgminer/modminer
- doins bitstreams/*.ncd
- 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/*.bit
- dodoc bitstreams/COPYING_ztex
- fi
- if use examples; then
- docinto examples
- dodoc api-example.php miner.php API.java api-example.c
- fi
-}
diff --git a/net-misc/bfgminer/bfgminer-2.8.0.ebuild b/net-misc/bfgminer/bfgminer-2.8.0.ebuild
deleted file mode 100644
index 2bf517d11629..000000000000
--- a/net-misc/bfgminer/bfgminer-2.8.0.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# 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.8.0.ebuild,v 1.3 2012/12/03 02:26:16 ssuominen 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 ztex"
-REQUIRED_USE="
- || ( bitforce cpumining icarus modminer opencl 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
- )
- 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 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; then
- insinto /usr/lib/bfgminer/modminer
- doins bitstreams/*.ncd
- 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/*.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.8.3.ebuild b/net-misc/bfgminer/bfgminer-2.8.3.ebuild
deleted file mode 100644
index 55ba0b73b817..000000000000
--- a/net-misc/bfgminer/bfgminer-2.8.3.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# 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.8.3.ebuild,v 1.2 2012/12/03 02:26:16 ssuominen 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 ztex"
-REQUIRED_USE="
- || ( bitforce cpumining icarus modminer opencl 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
- )
- 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 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; then
- insinto /usr/lib/bfgminer/modminer
- 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.8.4.ebuild b/net-misc/bfgminer/bfgminer-2.8.4.ebuild
deleted file mode 100644
index 4b8640754cf1..000000000000
--- a/net-misc/bfgminer/bfgminer-2.8.4.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# 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.8.4.ebuild,v 1.2 2012/12/03 02:26:16 ssuominen 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 ztex"
-REQUIRED_USE="
- || ( bitforce cpumining icarus modminer opencl 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
- )
- 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 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; then
- insinto /usr/lib/bfgminer/modminer
- 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.8.6.ebuild b/net-misc/bfgminer/bfgminer-2.8.6.ebuild
deleted file mode 100644
index bd36c588d975..000000000000
--- a/net-misc/bfgminer/bfgminer-2.8.6.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# 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.8.6.ebuild,v 1.2 2012/12/06 13:54:24 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 ztex"
-REQUIRED_USE="
- || ( bitforce cpumining icarus modminer opencl 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
- )
- 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 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; then
- insinto /usr/lib/bfgminer/modminer
- 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.0.ebuild b/net-misc/bfgminer/bfgminer-2.9.0.ebuild
deleted file mode 100644
index dc945dcfbe00..000000000000
--- a/net-misc/bfgminer/bfgminer-2.9.0.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# 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.9.0.ebuild,v 1.2 2012/12/03 02:26:16 ssuominen 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
-}
diff --git a/net-misc/bfgminer/bfgminer-2.9.1.ebuild b/net-misc/bfgminer/bfgminer-2.9.1.ebuild
deleted file mode 100644
index 4f02ec1f70b5..000000000000
--- a/net-misc/bfgminer/bfgminer-2.9.1.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# 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.9.1.ebuild,v 1.2 2012/12/03 02:26:16 ssuominen 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
-}
diff --git a/net-misc/bfgminer/bfgminer-2.9.3.ebuild b/net-misc/bfgminer/bfgminer-2.9.7.ebuild
index d8c009ee3916..c60a11c92947 100644
--- a/net-misc/bfgminer/bfgminer-2.9.3.ebuild
+++ b/net-misc/bfgminer/bfgminer-2.9.7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# 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.3.ebuild,v 1.2 2012/12/06 13:54:24 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bfgminer/bfgminer-2.9.7.ebuild,v 1.1 2013/01/04 02:06:10 blueness Exp $
EAPI="4"