/[gentoo-x86]/sys-apps/x86info/x86info-1.17.ebuild
Gentoo

Contents of /sys-apps/x86info/x86info-1.17.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Apr 23 17:45:50 2007 UTC (11 years, 6 months ago) by robbat2
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Cleanup old versions.
(Portage version: 2.1.2.4)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/x86info/x86info-1.17.ebuild,v 1.1 2006/01/24 02:29:19 robbat2 Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Dave Jones' handy, informative x86 CPU diagnostic utility"
8 HOMEPAGE="http://www.codemonkey.org.uk/projects/x86info/"
9 SRC_URI="http://www.codemonkey.org.uk/projects/x86info/${P}.tgz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="-* ~x86"
14 IUSE=""
15
16 DEPEND=""
17 RDEPEND=""
18
19 src_unpack() {
20 unpack ${A}
21 cd "${S}"
22 epatch "${FILESDIR}"/1.12b-pic.patch
23 }
24
25 src_compile() {
26 emake x86info CFLAGS="${CFLAGS}" || die "emake failed"
27 }
28
29 src_install() {
30 dobin x86info || die
31
32 insinto /etc/modules.d
33 newins "${FILESDIR}"/x86info-modules.conf-rc x86info
34
35 dodoc TODO README ChangeLog
36 doman x86info.1
37 insinto /usr/share/doc/${PF}
38 doins -r results
39 prepalldocs
40 }
41
42 pkg_postinst() {
43 ewarn "Your kernel must be built with the following options"
44 ewarn "set to Y or M"
45 ewarn " Processor type and features ->"
46 ewarn " [*] /dev/cpu/*/msr - Model-specific register support"
47 ewarn " [*] /dev/cpu/*/cpuid - CPU information support"
48 }

  ViewVC Help
Powered by ViewVC 1.1.20