/[gentoo-x86]/sys-apps/cpuid/cpuid-20110305.ebuild
Gentoo

Contents of /sys-apps/cpuid/cpuid-20110305.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Jul 31 16:12:40 2011 UTC (9 years, 3 months ago) by mattst88
Branch: MAIN
Changes since 1.2: +2 -1 lines
Fix compilation on x86/hardened (-fPIC flag), bug 376245.

(Portage version: 2.1.10.3/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/cpuid/cpuid-20110305.ebuild,v 1.2 2011/07/23 15:28:56 tomka Exp $
4
5 EAPI="4"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="Utility to get detailed information about the CPU(s) using the
10 CPUID instruction"
11 HOMEPAGE="http://www.etallen.com/cpuid.html"
12 SRC_URI="http://www.etallen.com/${PN}/${P}.src.tar.gz"
13
14 KEYWORDS="~amd64 ~x86"
15 SLOT="0"
16 LICENSE="GPL-2"
17 IUSE=""
18
19 src_prepare() {
20 epatch "${FILESDIR}"/${P}-Makefile.patch
21 epatch "${FILESDIR}"/${P}-fPIC.patch #376245
22 }
23
24 src_compile() {
25 tc-export CC
26 emake
27 }
28
29 src_install() {
30 emake BUILDROOT="${D}" install
31 }

  ViewVC Help
Powered by ViewVC 1.1.20