Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 420607
Collapse All | Expand All

(-)a/sys/-power/pmtools/pmtools-20110323.ebuild (-8 / +12 lines)
Lines 1-15 Link Here
1
# Copyright 1999-2011 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/pmtools-20110323.ebuild,v 1.1 2011/04/03 03:58:56 nerdboy Exp $
3
# $Header: $
4
4
5
EAPI=2
5
EAPI=5
6
6
7
inherit eutils flag-o-matic toolchain-funcs
7
inherit eutils flag-o-matic toolchain-funcs
8
8
9
DESCRIPTION="ACPI disassembler tools, including acpidump"
9
DESCRIPTION="Collection of tools for ACPI and power management"
10
HOMEPAGE="http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/"
10
HOMEPAGE="https://github.com/anyc/pmtools/"
11
SRC_URI="http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/${P}.tar.gz"
11
SRC_URI="https://github.com/anyc/pmtools/tarball/${PV} -> ${P}.tar.gz"
12
LICENSE="GPL-2"
12
LICENSE="GPL-2"
13
13
SLOT="0"
14
SLOT="0"
14
KEYWORDS="~amd64 ~x86"
15
KEYWORDS="~amd64 ~x86"
15
IUSE="doc"
16
IUSE="doc"
Lines 20-25 Link Here
20
21
21
S="${WORKDIR}/pmtools"
22
S="${WORKDIR}/pmtools"
22
23
24
src_unpack() {
25
	unpack ${A}
26
}
27
23
src_prepare() {
28
src_prepare() {
24
	epatch "${FILESDIR}"/${PN}-20100123-acpixtract-pmtools.patch
29
	epatch "${FILESDIR}"/${PN}-20100123-acpixtract-pmtools.patch
25
	epatch "${FILESDIR}"/${PN}-20100123-madt.patch
30
	epatch "${FILESDIR}"/${PN}-20100123-madt.patch
Lines 38-46 Link Here
38
}
43
}
39
44
40
src_install() {
45
src_install() {
41
	# acpidump access the ACPI data via /dev/mem or EFI firmware in /sys
42
	dosbin acpidump/acpidump
46
	dosbin acpidump/acpidump
43
	# the other tools only process data
47
44
	newbin acpixtract/acpixtract acpixtract-pmtools
48
	newbin acpixtract/acpixtract acpixtract-pmtools
45
	dobin madt/madt
49
	dobin madt/madt
46
	dosbin turbostat/turbostat
50
	dosbin turbostat/turbostat

Return to bug 420607