From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/betagarden:master commit in: app-benchmarks/i7z/files/, app-benchmarks/i7z/
Date: Sun, 14 Aug 2011 10:30:23 +0000 (UTC) [thread overview]
Message-ID: <930ad3eb3ef9b0fe0f2a732f85485d4f71810bfd.jlec@gentoo> (raw)
commit: 930ad3eb3ef9b0fe0f2a732f85485d4f71810bfd
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 22 15:18:59 2011 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Jul 22 15:18:59 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=930ad3eb
added metadata.xml
(Portage version: 2.2.0_alpha46/git/Linux x86_64, signed Manifest commit with key 70EB7916)
---
app-benchmarks/i7z/ChangeLog | 14 +++++++
app-benchmarks/i7z/files/9999-gentoo.patch | 56 ++++++++++++++++++++++++++++
app-benchmarks/i7z/i7z-9999.ebuild | 41 ++++++++++++++++++++
app-benchmarks/i7z/metadata.xml | 8 ++++
4 files changed, 119 insertions(+), 0 deletions(-)
diff --git a/app-benchmarks/i7z/ChangeLog b/app-benchmarks/i7z/ChangeLog
new file mode 100644
index 0000000..30bba38
--- /dev/null
+++ b/app-benchmarks/i7z/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for app-benchmarks/i7z
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 22 Jul 2011; Justin Lecher <jlec@gentoo.org> +files/9999-gentoo.patch,
+ +i7z-9999.ebuild, +metadata.xml:
+ added metadata.xml
+
+*i7z-9999 (22 Jul 2011)
+
+ 22 Jul 2011; Justin Lecher <jlec@gentoo.org> +files/9999-gentoo.patch,
+ +i7z-9999.ebuild:
+ Added live version
+
diff --git a/app-benchmarks/i7z/files/9999-gentoo.patch b/app-benchmarks/i7z/files/9999-gentoo.patch
new file mode 100644
index 0000000..345fe50
--- /dev/null
+++ b/app-benchmarks/i7z/files/9999-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-9999.ebuild b/app-benchmarks/i7z/i7z-9999.ebuild
new file mode 100644
index 0000000..1819372
--- /dev/null
+++ b/app-benchmarks/i7z/i7z-9999.ebuild
@@ -0,0 +1,41 @@
+# 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.3 2011/04/27 07:45:55 jlec Exp $
+
+EAPI=4
+
+inherit eutils qt4-r2 subversion toolchain-funcs
+
+DESCRIPTION="A better i7 (and now i3, i5) reporting tool for Linux"
+HOMEPAGE="http://code.google.com/p/i7z/"
+SRC_URI=""
+ESVN_REPO_URI="http://i7z.googlecode.com/svn/trunk"
+
+SLOT="0"
+KEYWORDS=""
+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() {
+ default
+ if use X; then
+ cd GUI
+ eqmake4 GUI.pro && emake
+ fi
+}
+
+src_install() {
+ default
+ use X && newsbin GUI/GUI i7z_GUI
+ dodoc put_cores_o*line.sh MAKEDEV-cpuid-msr
+}
diff --git a/app-benchmarks/i7z/metadata.xml b/app-benchmarks/i7z/metadata.xml
new file mode 100644
index 0000000..5e10119
--- /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>maintainer-wanted@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
next reply other threads:[~2011-08-14 10:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-14 10:30 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-08-14 10:30 [gentoo-commits] proj/betagarden:master commit in: app-benchmarks/i7z/files/, app-benchmarks/i7z/ Justin Lecher
2011-12-04 8:54 Justin Lecher
2011-12-28 22:40 Justin Lecher
2011-12-31 12:39 Justin Lecher
2013-06-02 8:07 Justin Lecher
2019-12-19 18:31 Sebastian Pipping
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=930ad3eb3ef9b0fe0f2a732f85485d4f71810bfd.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox