diff options
-rw-r--r-- | app-benchmarks/cpuburn/ChangeLog | 11 | ||||
-rw-r--r-- | app-benchmarks/cpuburn/Manifest | 15 | ||||
-rw-r--r-- | app-benchmarks/cpuburn/cpuburn-1.4a.ebuild | 37 | ||||
-rw-r--r-- | app-benchmarks/cpuburn/files/cpuburn-1.4a-flags.patch | 7 |
4 files changed, 57 insertions, 13 deletions
diff --git a/app-benchmarks/cpuburn/ChangeLog b/app-benchmarks/cpuburn/ChangeLog index a14165cd3d09..6c80d3c16b4a 100644 --- a/app-benchmarks/cpuburn/ChangeLog +++ b/app-benchmarks/cpuburn/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-benchmarks/cpuburn -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/cpuburn/ChangeLog,v 1.15 2009/10/12 19:02:05 halcy0n Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/cpuburn/ChangeLog,v 1.16 2010/10/12 18:54:05 jer Exp $ + +*cpuburn-1.4a (12 Oct 2010) + + 12 Oct 2010; Jeroen Roovers <jer@gentoo.org> +cpuburn-1.4a.ebuild, + +files/cpuburn-1.4a-flags.patch: + Version bump. Respect CC (bug #243516), LDFLAGS, CFLAGS. Do not strip. + Remove pointless DEPEND. 12 Oct 2009; Mark Loeser <halcy0n@gentoo.org> cpuburn-1.4.ebuild: QA fixes; unquoted variables diff --git a/app-benchmarks/cpuburn/Manifest b/app-benchmarks/cpuburn/Manifest index 7eed01594b5c..1eacd3228f56 100644 --- a/app-benchmarks/cpuburn/Manifest +++ b/app-benchmarks/cpuburn/Manifest @@ -1,14 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +AUX cpuburn-1.4a-flags.patch 250 RMD160 70125381b2262660d149a43fa7faf3b29f5f60ab SHA1 becb4182746498ed358f32c262aceee35d627728 SHA256 478217b059d351cde2d16b57d6c058abbdcf02b68d12d572212f173c845c85ff DIST cpuburn_1_4_tar.gz 7373 RMD160 d9a25567002e3c8801991be5e980156ba068e680 SHA1 291e163d17ce528fd8301f821babed74d9caffaf SHA256 1b2a1672f455545a28d0f038737e792e8c3b97789f2029f765847fc2a807244a +DIST cpuburn_1_4a_tar.gz 9277 RMD160 156818dbf8f77780a9a374d25d500419da6fa296 SHA1 bdec2233b5f473735c47ca6150c244f33a1fd82b SHA256 eb191ce9bfbf453d30c218c3419573df102a3588f96c4a43686c84bb9da4bed6 EBUILD cpuburn-1.4.ebuild 928 RMD160 0841e4c8e50989cecbdfc02740048aede90934b9 SHA1 637a8370d07e3b0792e7da9e717dab3731055c6e SHA256 5148c06c3106dfb90565e94897b2c878c469d3fd52eabd4f87ed15b9c98331e4 -MISC ChangeLog 1338 RMD160 4dbdd60c723817048b0876a70c9215bd8644c1bb SHA1 51a794ab70beae6bf47eaec106f374ddf66c84a3 SHA256 727a6158982f7034062f25a0279f8aee8ca2c2115d834b97d859922b43bf39ae +EBUILD cpuburn-1.4a.ebuild 936 RMD160 770885b01d6805190f5b2fe97649551c82b3c79f SHA1 6b37a5402c5d60b604419d151115088bbec6d4a8 SHA256 2cee4bc09517df233c2102e6bbd96c40f4a14ba06af6e08d815b44387da235de +MISC ChangeLog 1568 RMD160 e04362e8ca753db1f2735821bf2ee6876f5ff116 SHA1 c062a8467e1f27b2edb6277449ab27a2ec2137ff SHA256 68ccd7c483eee43c1c685ff942c4013243c839f58f84ae19c2614a6fe8365f2d MISC metadata.xml 400 RMD160 f01fb6897ba3e7c1f1d20df9db99c2d20ee35e09 SHA1 41cc095eee650a6507186bd2c2c9aaff6f89c6bb SHA256 9aba080fab1b7bc1a6551b484688d991365d9685cb36dca67a0370e26c4ad002 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAkrTfTIACgkQCRZPokWLroSfoQCfVFSN5gL8MP92f2c+hI4cQnaA -81wAn0oiOc4ZooAhxlpe5YDuJh4YmRB/ -=4+0w ------END PGP SIGNATURE----- diff --git a/app-benchmarks/cpuburn/cpuburn-1.4a.ebuild b/app-benchmarks/cpuburn/cpuburn-1.4a.ebuild new file mode 100644 index 000000000000..d594482a4217 --- /dev/null +++ b/app-benchmarks/cpuburn/cpuburn-1.4a.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/cpuburn/cpuburn-1.4a.ebuild,v 1.1 2010/10/12 18:54:05 jer Exp $ + +EAPI="2" + +inherit eutils flag-o-matic toolchain-funcs + +MY_P="${PV/./_}" +DESCRIPTION="designed to heavily load CPU chips [testing purposes]" +HOMEPAGE="http://pages.sbcglobal.net/redelm/" +SRC_URI="http://pages.sbcglobal.net/redelm/cpuburn_${MY_P}_tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +RDEPEND="amd64? ( >=app-emulation/emul-linux-x86-baselibs-1.0 )" + +src_unpack() { + # for some reason he has it _tar instead of .tar ... + unpack ${A} + tar -xf cpuburn_${MY_P}_tar || die +} + +src_prepare() { +cp -av Makefile{,.orig} + epatch "${FILESDIR}"/${P}-flags.patch + use amd64 && append-flags -m32 #65719 + tc-export CC +} + +src_install() { + dodoc Design README + dobin burn{BX,K6,K7,MMX,P5,P6} || die +} diff --git a/app-benchmarks/cpuburn/files/cpuburn-1.4a-flags.patch b/app-benchmarks/cpuburn/files/cpuburn-1.4a-flags.patch new file mode 100644 index 000000000000..97b8836c0af4 --- /dev/null +++ b/app-benchmarks/cpuburn/files/cpuburn-1.4a-flags.patch @@ -0,0 +1,7 @@ +--- Makefile.orig 2001-06-16 05:39:17.000000000 +0200 ++++ Makefile 2010-10-12 20:31:38.000000000 +0200 +@@ -1,3 +1,3 @@ + all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX + .S: +- gcc -s -nostdlib -o $@ $< ++ $(CC) $(CFLAGS) $(LDFLAGS) -nostdlib -o $@ $< |