From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-benchmarks/i7z: metadata.xml ChangeLog i7z-0.26.ebuild |
Date: | Sat, 29 Jan 2011 15:01:32 |
Message-Id: | 20110129150120.3951F20054@flycatcher.gentoo.org |
1 | jlec 11/01/29 15:01:20 |
2 | |
3 | Added: metadata.xml ChangeLog i7z-0.26.ebuild |
4 | Log: |
5 | New package, written by me, fixes #324477 |
6 | |
7 | (Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-benchmarks/i7z/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/i7z/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/i7z/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>no-herd</herd> |
21 | <maintainer> |
22 | <email>jlec@g.o</email> |
23 | </maintainer> |
24 | </pkgmetadata> |
25 | |
26 | |
27 | |
28 | 1.1 app-benchmarks/i7z/ChangeLog |
29 | |
30 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/i7z/ChangeLog?rev=1.1&view=markup |
31 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/i7z/ChangeLog?rev=1.1&content-type=text/plain |
32 | |
33 | Index: ChangeLog |
34 | =================================================================== |
35 | # ChangeLog for app-benchmarks/i7z |
36 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
37 | # $Header: /var/cvsroot/gentoo-x86/app-benchmarks/i7z/ChangeLog,v 1.1 2011/01/29 15:01:20 jlec Exp $ |
38 | |
39 | *i7z-0.26 (29 Jan 2011) |
40 | |
41 | 29 Jan 2011; Justin Lecher <jlec@g.o> +files/0.26-gentoo.patch, |
42 | +i7z-0.26.ebuild, +metadata.xml: |
43 | New package, written by me, fixes #324477 |
44 | |
45 | |
46 | |
47 | |
48 | 1.1 app-benchmarks/i7z/i7z-0.26.ebuild |
49 | |
50 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/i7z/i7z-0.26.ebuild?rev=1.1&view=markup |
51 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/i7z/i7z-0.26.ebuild?rev=1.1&content-type=text/plain |
52 | |
53 | Index: i7z-0.26.ebuild |
54 | =================================================================== |
55 | # Copyright 1999-2011 Gentoo Foundation |
56 | # Distributed under the terms of the GNU General Public License v2 |
57 | # $Header: /var/cvsroot/gentoo-x86/app-benchmarks/i7z/i7z-0.26.ebuild,v 1.1 2011/01/29 15:01:20 jlec Exp $ |
58 | |
59 | EAPI="3" |
60 | |
61 | inherit eutils qt4-r2 toolchain-funcs |
62 | |
63 | DESCRIPTION="A better i7 (and now i3, i5) reporting tool for Linux" |
64 | HOMEPAGE="http://code.google.com/p/i7z/" |
65 | SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" |
66 | |
67 | SLOT="0" |
68 | KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
69 | LICENSE="GPL-2" |
70 | IUSE="X" |
71 | |
72 | RDEPEND=" |
73 | sys-libs/ncurses |
74 | X? ( x11-libs/qt-gui:4 )" |
75 | DEPEND="${RDEPEND}" |
76 | |
77 | src_prepare() { |
78 | epatch "${FILESDIR}"/${PV}-gentoo.patch |
79 | tc-export CC |
80 | } |
81 | |
82 | src_compile() { |
83 | emake || die |
84 | if use X; then |
85 | cd GUI |
86 | eqmake4 GUI.pro |
87 | emake || die |
88 | fi |
89 | |
90 | } |
91 | |
92 | src_install() { |
93 | emake DESTDIR="${D}" install || die |
94 | if use X; then |
95 | newsbin GUI/GUI i7z_GUI || die |
96 | fi |
97 | dodoc put_cores_o*line.sh MAKEDEV-cpuid-msr || die |
98 | } |