summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2012-05-18 17:36:48 +0900
committerBenda Xu <heroxbd@gentoo.org>2012-05-18 17:36:48 +0900
commitfb26a5c2df5e1fde31491ebeff69112712008353 (patch)
tree2f8414516404877c9df8e29df0c2b2536ab2bd5c /app-benchmarks
downloadheroxbd-fb26a5c2df5e1fde31491ebeff69112712008353.tar.gz
heroxbd-fb26a5c2df5e1fde31491ebeff69112712008353.tar.bz2
heroxbd-fb26a5c2df5e1fde31491ebeff69112712008353.zip
initial commit
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/nbench/ChangeLog140
-rw-r--r--app-benchmarks/nbench/Manifest5
-rw-r--r--app-benchmarks/nbench/files/nbench-2.2.3-Makefile.patch24
-rw-r--r--app-benchmarks/nbench/metadata.xml9
-rw-r--r--app-benchmarks/nbench/nbench-2.2.3-r1.ebuild39
5 files changed, 217 insertions, 0 deletions
diff --git a/app-benchmarks/nbench/ChangeLog b/app-benchmarks/nbench/ChangeLog
new file mode 100644
index 0000000..0c12dc0
--- /dev/null
+++ b/app-benchmarks/nbench/ChangeLog
@@ -0,0 +1,140 @@
+# ChangeLog for app-benchmarks/nbench
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/nbench/ChangeLog,v 1.33 2010/09/30 21:23:29 ranger Exp $
+
+ 30 Sep 2010; Brent Baude <ranger@gentoo.org> nbench-2.2.3-r1.ebuild:
+ stable ppc64, bug 331147
+
+ 18 Sep 2010; Raúl Porcel <armin76@gentoo.org> nbench-2.2.3-r1.ebuild:
+ alpha/arm/sh/sparc stable wrt #331147
+
+ 16 Sep 2010; Raúl Porcel <armin76@gentoo.org> nbench-2.2.3.ebuild,
+ nbench-2.2.3-r1.ebuild:
+ Add ~arm
+
+ 06 Aug 2010; Christian Faulhammer <fauli@gentoo.org>
+ nbench-2.2.3-r1.ebuild:
+ stable x86, bug 331147
+
+ 05 Aug 2010; Jeroen Roovers <jer@gentoo.org> nbench-2.2.3-r1.ebuild:
+ Stable for PPC (bug #331147).
+
+ 05 Aug 2010; Jeroen Roovers <jer@gentoo.org> nbench-2.2.3-r1.ebuild:
+ Stable for HPPA (bug #331147).
+
+ 04 Aug 2010; Markos Chandras <hwoarang@gentoo.org> nbench-2.2.3-r1.ebuild:
+ Stable on amd64 wrt bug #331147
+
+ 14 Dec 2009; Jeroen Roovers <jer@gentoo.org> nbench-2.2.3-r1.ebuild:
+ Space.
+
+ 14 Dec 2009; Jeroen Roovers <jer@gentoo.org> nbench-2.2.3-r1.ebuild:
+ Remove testing cruft.
+
+*nbench-2.2.3-r1 (14 Dec 2009)
+
+ 14 Dec 2009; Jeroen Roovers <jer@gentoo.org> +nbench-2.2.3-r1.ebuild,
+ files/nbench-2.2.3-Makefile.patch:
+ Bump to hopefully fix missing pointer.h (bug #296860).
+
+ 01 Apr 2009; Jeroen Roovers <jer@gentoo.org> -nbench-2.2.2.ebuild,
+ nbench-2.2.3.ebuild:
+ Remove old. Remove silly DEPEND.
+
+ 01 Dec 2008; Brent Baude <ranger@gentoo.org> nbench-2.2.3.ebuild:
+ stable ppc64, bug 249105
+
+ 30 Nov 2008; Markus Meier <maekke@gentoo.org> nbench-2.2.3.ebuild:
+ amd64 stable, bug #249105
+
+ 29 Nov 2008; Raúl Porcel <armin76@gentoo.org> nbench-2.2.3.ebuild:
+ alpha/sparc/x86 stable wrt #249105
+
+ 29 Nov 2008; Tobias Scherbaum <dertobi123@gentoo.org> nbench-2.2.3.ebuild:
+ ppc stable, bug #249105
+
+ 28 Nov 2008; Jeroen Roovers <jer@gentoo.org> nbench-2.2.3.ebuild:
+ Stable for HPPA (bug #249105).
+
+ 29 Oct 2008; Jeroen Roovers <jer@gentoo.org> -nbench-2.2.1.ebuild:
+ Remove old.
+
+*nbench-2.2.3 (29 Oct 2008)
+
+ 29 Oct 2008; Jeroen Roovers <jer@gentoo.org>
+ +files/nbench-2.2.3-Makefile.patch, metadata.xml, +nbench-2.2.3.ebuild:
+ Pick up maintainership. Version bump. Patch Makefile to use toolchain CC
+ (bug #243520).
+
+ 21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
+ Transition to Manifest2.
+
+ 06 Dec 2006; Alexander H. Færøy <eroyf@gentoo.org> nbench-2.2.2.ebuild:
+ Stable on MIPS.
+
+ 08 Jul 2006; Markus Rothe <corsair@gentoo.org> nbench-2.2.2.ebuild:
+ Stable on ppc64
+
+ 15 Jun 2006; Brent Baude <ranger@gentoo.org> nbench-2.2.2.ebuild:
+ keywording nbench-2.2.2 ~ppc64 per solar's request; looks fine to me too
+
+ 09 Sep 2005; Aron Griffis <agriffis@gentoo.org> nbench-2.2.2.ebuild:
+ Mark 2.2.2 stable on alpha
+
+ 31 Jul 2005; Tobias Scherbaum <dertobi123@gentoo.org> nbench-2.2.2.ebuild:
+ ppc stable
+
+ 20 Jul 2005; Gustavo Zacarias <gustavoz@gentoo.org> nbench-2.2.2.ebuild:
+ Stable on sparc
+
+ 19 Jul 2005; MATSUU Takuto <matsuu@gentoo.org> nbench-2.2.2.ebuild:
+ Stable on x86, amd64 and sh.
+
+ 29 Mar 2005; Guy Martin <gmsoft@gentoo.org> nbench-2.2.2.ebuild:
+ Stable on hppa.
+
+ 13 Mar 2005; Tavis Ormandy <taviso@gentoo.org> nbench-2.2.2.ebuild:
+ add ~alpha keyword
+
+*nbench-2.2.2 (30 Dec 2004)
+
+ 30 Dec 2004; MATSUU Takuto <matsuu@gentoo.org> +nbench-2.2.2.ebuild:
+ Version bumped.
+
+ 18 Nov 2004; Daniel Goller <morfic@gentoo.org> nbench-2.2.1.ebuild:
+ Added support for LDFLAGS
+
+*nbench-2.2.1 (07 Nov 2004)
+
+ 07 Nov 2004; Daniel Goller <morfic@gentoo.org> +metadata.xml,
+ +nbench-2.2.1.ebuild:
+ Moved from sys-apps/nbench to app-benchmarks/nbench.
+
+ 03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
+ nbench-2.2.1.ebuild:
+ Masked nbench-2.2.1.ebuild stable for ppc
+
+ 30 Jun 2004; Aron Griffis <agriffis@gentoo.org> nbench-2.2.1.ebuild:
+ glibc -> libc
+
+*nbench-2.2.1 (15 Mar 2004)
+
+ 15 Mar 2004; <matsuu@gentoo.org> nbench-2.2.1.ebuild:
+ Version bumped. Bugs #23209.
+ Removed dosed in src_compile. Bugs #44712.
+
+ 24 Feb 2004; Lars Weiler <pylon@gentoo.org> nbench-2.1.ebuild:
+ Works on ppc. Masking ~ppc
+
+ 24 Feb 2004; Sven Blumenstein <bazik@gentoo.org> nbench-2.1.ebuild:
+ Stable on sparc.
+
+ 18 Jan 2004; <tuxus@gentoo.org> nbench-2.1.ebuild:
+ Added ~mips to KEYWORDS.
+
+ 17 Oct 2003; Sven Blumenstein <bazik@gentoo.org> nbench-2.1.ebuild:
+ Added ~sparc keyword.
+
+*nbench-2.1 (30 Jan 2003)
+ 30 Jan 2003l Joshua Brindle <method@gentoo.org> nbench-2.1.ebuild :
+ Initial import. Ebuild submitted by MATSUU Takuto <matsuu@7501.net>.
diff --git a/app-benchmarks/nbench/Manifest b/app-benchmarks/nbench/Manifest
new file mode 100644
index 0000000..b85e14c
--- /dev/null
+++ b/app-benchmarks/nbench/Manifest
@@ -0,0 +1,5 @@
+AUX nbench-2.2.3-Makefile.patch 709 RMD160 068235291ba5af4f62f6417d574b4a9425731426 SHA1 abf395562b601cd4a023d285f14952cfade51a08 SHA256 b58a2e2213efa31d2a8683e315afb7d330830eaf73024c036092918e209d65de
+DIST nbench-byte-2.2.3.tar.gz 111791 RMD160 a07d2a9f1a6162a5071602e89e6360c13521e463 SHA1 f2a03c56dc2bf26e478c2a1828debcafd83983ef SHA256 723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed9101ac
+EBUILD nbench-2.2.3-r1.ebuild 1095 RMD160 c292c2d578279b50b6966d56975579691c92c448 SHA1 3edd385899eb1c26578a0de9ab3ff74f4c794eaa SHA256 054c5188cf532625b1415963b12d37cf4e822c3b12ad0b8371691c20afdb2441
+MISC ChangeLog 4587 RMD160 988ccf4e071e7f6f6fd0b8db5baa6bfc87071601 SHA1 47ea1eb0afe8d5439667d28aa6a80c8e069cc7fd SHA256 aa0030c042e38f79b42faf9b327a813c697f43ce29db2ba3ddeaff1a533f9971
+MISC metadata.xml 252 RMD160 ed7e3d6637ec96975f17ce5c33628aa482dfd663 SHA1 ddd00321e20f4a53a140eeb56cb01b9fab24d657 SHA256 76fd24f00e95b2892ca60acdce02d8c85dfeff84fc89ca14ffdbc00b82de44b3
diff --git a/app-benchmarks/nbench/files/nbench-2.2.3-Makefile.patch b/app-benchmarks/nbench/files/nbench-2.2.3-Makefile.patch
new file mode 100644
index 0000000..c41fd07
--- /dev/null
+++ b/app-benchmarks/nbench/files/nbench-2.2.3-Makefile.patch
@@ -0,0 +1,24 @@
+--- Makefile.org 2004-12-30 03:23:30.000000000 +0100
++++ Makefile 2009-12-14 13:31:18.000000000 +0100
+@@ -19,10 +19,10 @@
+ # You should leave -static in the CFLAGS so that your sysinfo can be
+ # compiled into the executable.
+
+-CC = gcc
++#CC = gcc
+
+ # generic options for gcc
+-CFLAGS = -s -static -Wall -O3
++#CFLAGS = -s -static -Wall -O3
+
+ # if your gcc lets you do it, then try this one
+ #CFLAGS = -s -static -Wall -O3 -fomit-frame-pointer -funroll-loops
+@@ -126,7 +126,7 @@
+ if [ "4" = `./pointer` ] ; then touch pointer.h ;\
+ else echo "#define LONG64" >pointer.h ; fi
+
+-misc.o: misc.h misc.c Makefile
++misc.o: misc.h misc.c pointer.h Makefile
+ $(CC) $(MACHINE) $(DEFINES) $(CFLAGS)\
+ -c misc.c
+
diff --git a/app-benchmarks/nbench/metadata.xml b/app-benchmarks/nbench/metadata.xml
new file mode 100644
index 0000000..6b29bc5
--- /dev/null
+++ b/app-benchmarks/nbench/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>jer@gentoo.org</email>
+ <name>Jeroen Roovers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-benchmarks/nbench/nbench-2.2.3-r1.ebuild b/app-benchmarks/nbench/nbench-2.2.3-r1.ebuild
new file mode 100644
index 0000000..d0c487a
--- /dev/null
+++ b/app-benchmarks/nbench/nbench-2.2.3-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/nbench/nbench-2.2.3-r1.ebuild,v 1.10 2010/09/30 21:23:29 ranger Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+MY_P="${PN}-byte-${PV}"
+DESCRIPTION="Linux/Unix of release 2 of BYTE Magazine's BYTEmark benchmark"
+HOMEPAGE="http://www.tux.org/~mayer/linux/bmark.html"
+SRC_URI="http://www.tux.org/~mayer/linux/${MY_P}.tar.gz"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~x86-linux"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-Makefile.patch"
+ sed \
+ -e 's:$compiler -v\( 2>&1 | sed -e "/version/!d"\|\):$compiler -dumpversion:' \
+ -i sysinfo.sh || die "patching sysinfo.sh failed"
+ sed -e 's:inpath="NNET.DAT":inpath="/usr/share/nbench/NNET.DAT":' \
+ -i nbench1.h || die "patching nbench1.h failed"
+}
+
+src_compile() {
+ emake LINKFLAGS="${LDFLAGS}" CC=$(tc-getCC) CFLAGS="${CFLAGS}" || die "make failed"
+}
+
+src_install() {
+ dobin nbench
+ insinto /usr/share/nbench
+ doins NNET.DAT
+ dodoc Changes README* bdoc.txt
+}