summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-01-29 15:01:20 +0000
committerJustin Lecher <jlec@gentoo.org>2011-01-29 15:01:20 +0000
commit4aa71f4422f93d0931910948fcb55f0f9163abb0 (patch)
treecbde573a85d2fa62898582f9fe5496005e145e9f /app-benchmarks
parentStabilise latest on x86 and amd64. Drop older. (diff)
downloadhistorical-4aa71f4422f93d0931910948fcb55f0f9163abb0.tar.gz
historical-4aa71f4422f93d0931910948fcb55f0f9163abb0.tar.bz2
historical-4aa71f4422f93d0931910948fcb55f0f9163abb0.zip
New package, written by me, fixes #324477
Package-Manager: portage-2.2.0_alpha19/cvs/Linux x86_64
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/i7z/ChangeLog10
-rw-r--r--app-benchmarks/i7z/Manifest15
-rw-r--r--app-benchmarks/i7z/files/0.26-gentoo.patch56
-rw-r--r--app-benchmarks/i7z/i7z-0.26.ebuild44
-rw-r--r--app-benchmarks/i7z/metadata.xml8
5 files changed, 133 insertions, 0 deletions
diff --git a/app-benchmarks/i7z/ChangeLog b/app-benchmarks/i7z/ChangeLog
new file mode 100644
index 000000000000..19cb1dfc107d
--- /dev/null
+++ b/app-benchmarks/i7z/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-benchmarks/i7z
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/i7z/ChangeLog,v 1.1 2011/01/29 15:01:20 jlec Exp $
+
+*i7z-0.26 (29 Jan 2011)
+
+ 29 Jan 2011; Justin Lecher <jlec@gentoo.org> +files/0.26-gentoo.patch,
+ +i7z-0.26.ebuild, +metadata.xml:
+ New package, written by me, fixes #324477
+
diff --git a/app-benchmarks/i7z/Manifest b/app-benchmarks/i7z/Manifest
new file mode 100644
index 000000000000..75ddeea141ef
--- /dev/null
+++ b/app-benchmarks/i7z/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 0.26-gentoo.patch 1341 RMD160 a4f8d6bb7b264133ba44f7f7a29aef6659d5a839 SHA1 16ef35271a623b16c601e12d22e1a39fcee4b329 SHA256 ea831b1aca9772c7de12e9bc6a8d7f31fa93f4fa2cb0f721a76f9004c524d884
+DIST i7z-0.26.tar.gz 30539 RMD160 580a11cc820a0037e196533ab0bfae9e5f3669b8 SHA1 a0c4e00867955f00708aefcf4a7f4406e4c08423 SHA256 68cf43fc583f2da7f372644f77e83901141543fe47665c9c0148b80258782f85
+EBUILD i7z-0.26.ebuild 918 RMD160 fe78a59d13bd464b7aa4e2e754313a977dbddb53 SHA1 3bdb294176da53d98e18a02c5b7366ed537f7a9b SHA256 ef09de64dce4c70bbb567e6da55aaa17c42a8284372eebcf70a54aa38070755c
+MISC ChangeLog 385 RMD160 25e0c7b5a53ff1abbdb63ff6cd3b1742fcbbefb3 SHA1 0674bed006eb6ea79a568a57476f4fc24353bd5a SHA256 6e4c73a475fc1dd318087d1feb0ab7efabf17dad20c757df4cdeef287f4f9e56
+MISC metadata.xml 220 RMD160 435928b54535666360b3bf96aaa03430383339b8 SHA1 72650d93162578d87307bdef5caf72c5ee15c97a SHA256 e08cbf772d3bdb38ef895160c6573fdd3b1e81aea8f85a8cef84f5964d578fc4
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAk1EK+gACgkQgAnW8HDreRYmXgCcDe1FPk8zlg+Dg5nm8r4tk6Es
+T74AoMcWfRLxhSaBFsCyrq0b8sKPAlKR
+=nVXZ
+-----END PGP SIGNATURE-----
diff --git a/app-benchmarks/i7z/files/0.26-gentoo.patch b/app-benchmarks/i7z/files/0.26-gentoo.patch
new file mode 100644
index 000000000000..345fe505f80c
--- /dev/null
+++ b/app-benchmarks/i7z/files/0.26-gentoo.patch
@@ -0,0 +1,56 @@
+diff --git a/Makefile b/Makefile
+index fc4d262..e2347bf 100644
+--- a/Makefile
++++ b/Makefile
+@@ -17,18 +17,18 @@
+
+ #makefile updated from patch by anestling
+
+-CFLAGSANY = -g -O0 -fomit-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wall
++CFLAGS += -O0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DBUILD_MAIN -Wall
+
+ LBITS := $(shell getconf LONG_BIT)
+ ifeq ($(LBITS),64)
+- CFLAGS = $(CFLAGSANY) -Dx64_BIT
++ CFLAGS += -Dx64_BIT
+ else
+- CFLAGS = $(CFLAGSANY) -Dx86
++ CFLAGS += -Dx86
+ endif
+
+-CC = gcc
++CC ?= gcc
+
+-LDFLAGS = -lncurses -lpthread
++LIBS = -lncurses -lpthread
+ INCLUDEFLAGS =
+
+ OBJS = helper_functions
+@@ -36,15 +36,15 @@ OBJS = helper_functions
+ BIN = i7z
+ SRC = i7z.c helper_functions.c i7z_Single_Socket.c i7z_Dual_Socket.c
+
+-sbindir = /usr/sbin
++sbindir = $(DESTDIR)/usr/sbin
+
+-all: clean message bin
++all: clean bin
+
+ message:
+ @echo "If the compilation complains about not finding ncurses.h, install ncurses (libncurses5-dev on ubuntu/debian)"
+
+ bin:
+- $(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDEFLAGS) $(SRC) -o $(BIN)
++ $(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDEFLAGS) $(SRC) -o $(BIN) $(LIBS)
+
+ clean:
+ rm -f *.o $(BIN)
+@@ -52,6 +52,6 @@ clean:
+ distclean: clean
+ rm -f *~ \#*
+
+-install: all
+- install -m 755 $(BIN) $(sbindir)
++install:
++ install -D -m 755 $(BIN) $(sbindir)/$(BIN)
+
diff --git a/app-benchmarks/i7z/i7z-0.26.ebuild b/app-benchmarks/i7z/i7z-0.26.ebuild
new file mode 100644
index 000000000000..1cd98179e811
--- /dev/null
+++ b/app-benchmarks/i7z/i7z-0.26.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/i7z/i7z-0.26.ebuild,v 1.1 2011/01/29 15:01:20 jlec Exp $
+
+EAPI="3"
+
+inherit eutils qt4-r2 toolchain-funcs
+
+DESCRIPTION="A better i7 (and now i3, i5) reporting tool for Linux"
+HOMEPAGE="http://code.google.com/p/i7z/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="GPL-2"
+IUSE="X"
+
+RDEPEND="
+ sys-libs/ncurses
+ X? ( x11-libs/qt-gui:4 )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-gentoo.patch
+ tc-export CC
+}
+
+src_compile() {
+ emake || die
+ if use X; then
+ cd GUI
+ eqmake4 GUI.pro
+ emake || die
+ fi
+
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ if use X; then
+ newsbin GUI/GUI i7z_GUI || die
+ fi
+ dodoc put_cores_o*line.sh MAKEDEV-cpuid-msr || die
+}
diff --git a/app-benchmarks/i7z/metadata.xml b/app-benchmarks/i7z/metadata.xml
new file mode 100644
index 000000000000..9aa75ad4091e
--- /dev/null
+++ b/app-benchmarks/i7z/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>jlec@gentoo.org</email>
+</maintainer>
+</pkgmetadata>