summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2004-12-30 04:38:04 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2004-12-30 04:38:04 +0000
commita7c311e44253fca231914f8443b6428717608d6b (patch)
tree50335fb8a3f3feddaad1b86d6653f0324ac0fa91 /app-benchmarks/nbench/nbench-2.2.2.ebuild
parent initial import as per bug #39383 (Manifest recommit) (diff)
downloadgentoo-2-a7c311e44253fca231914f8443b6428717608d6b.tar.gz
gentoo-2-a7c311e44253fca231914f8443b6428717608d6b.tar.bz2
gentoo-2-a7c311e44253fca231914f8443b6428717608d6b.zip
Version bumped.
Diffstat (limited to 'app-benchmarks/nbench/nbench-2.2.2.ebuild')
-rw-r--r--app-benchmarks/nbench/nbench-2.2.2.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-benchmarks/nbench/nbench-2.2.2.ebuild b/app-benchmarks/nbench/nbench-2.2.2.ebuild
new file mode 100644
index 000000000000..024047cf17fc
--- /dev/null
+++ b/app-benchmarks/nbench/nbench-2.2.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/nbench/nbench-2.2.2.ebuild,v 1.1 2004/12/30 04:38:04 matsuu Exp $
+
+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 ~amd64 ~sparc ~mips ~ppc"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+
+ sed -i -e 's:$compiler -v\( 2>&1 | sed -e "/version/!d"\|\):$compiler -dumpversion:' sysinfo.sh || die
+
+ sed -i -e 's:inpath="NNET.DAT":inpath="/usr/share/nbench/NNET.DAT":' nbench1.h || die
+
+ make LINKFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" || die "make failed"
+}
+
+src_install() {
+ dobin nbench
+ insinto /usr/share/nbench
+ doins NNET.DAT
+
+ dodoc Changes README* RESULT bdoc.txt
+}