/[gentoo-x86]/app-benchmarks/i7z/i7z-0.27.2.ebuild
Gentoo

Contents of /app-benchmarks/i7z/i7z-0.27.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Nov 21 10:58:49 2012 UTC (21 months, 1 week ago) by ago
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable for x86, wrt bug #440366

(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-benchmarks/i7z/i7z-0.27.2.ebuild,v 1.3 2012/11/04 14:09:56 ago Exp $
4
5 EAPI=4
6
7 inherit eutils flag-o-matic qt4-r2 toolchain-funcs
8
9 DESCRIPTION="A better i7 (and now i3, i5) reporting tool for Linux"
10 HOMEPAGE="http://code.google.com/p/i7z/"
11 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
16 IUSE="X"
17
18 RDEPEND="
19 sys-libs/ncurses
20 X? ( x11-libs/qt-gui:4 )"
21 DEPEND="${RDEPEND}"
22
23 src_prepare() {
24 tc-export CC
25 }
26
27 src_compile() {
28 default
29 if use X; then
30 cd GUI
31 eqmake4 ${PN}_GUI.pro
32 emake clean && emake
33 fi
34 }
35
36 src_install() {
37 emake DESTDIR="${ED}" docdir=/usr/share/doc/${PF} install
38 use X && dosbin GUI/i7z_GUI
39 }

  ViewVC Help
Powered by ViewVC 1.1.20