diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2010-05-02 21:28:24 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2010-05-02 21:28:24 +0000 |
commit | 4c3ccfff259a2a39594423afe5bc9bcb605665da (patch) | |
tree | 628822399bf4be599306e87762f19684ef79bdda /sys-power/pmtools | |
parent | Version bump to 0.9.5 , fixing RDEPEND versions, adding ~x86 keyword (diff) | |
download | gentoo-2-4c3ccfff259a2a39594423afe5bc9bcb605665da.tar.gz gentoo-2-4c3ccfff259a2a39594423afe5bc9bcb605665da.tar.bz2 gentoo-2-4c3ccfff259a2a39594423afe5bc9bcb605665da.zip |
Bug #318213: Version bump.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-power/pmtools')
-rw-r--r-- | sys-power/pmtools/ChangeLog | 8 | ||||
-rw-r--r-- | sys-power/pmtools/pmtools-20100430.ebuild | 53 |
2 files changed, 60 insertions, 1 deletions
diff --git a/sys-power/pmtools/ChangeLog b/sys-power/pmtools/ChangeLog index 7cb8c0d9124c..e2e4c2cb742a 100644 --- a/sys-power/pmtools/ChangeLog +++ b/sys-power/pmtools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-power/pmtools # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/ChangeLog,v 1.13 2010/04/05 05:19:58 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/ChangeLog,v 1.14 2010/05/02 21:28:24 robbat2 Exp $ + +*pmtools-20100430 (02 May 2010) + + 02 May 2010; Robin H. Johnson <robbat2@gentoo.org> + +pmtools-20100430.ebuild: + Bug #318213: Version bump. *pmtools-20100123 (05 Apr 2010) diff --git a/sys-power/pmtools/pmtools-20100430.ebuild b/sys-power/pmtools/pmtools-20100430.ebuild new file mode 100644 index 000000000000..9fff7eeacfb6 --- /dev/null +++ b/sys-power/pmtools/pmtools-20100430.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/pmtools-20100430.ebuild,v 1.1 2010/05/02 21:28:24 robbat2 Exp $ + +EAPI=2 + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="ACPI disassembler tools, including acpidump" +HOMEPAGE="http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/" +SRC_URI="http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +DEPEND="" +RDEPEND="${DEPEND} + dev-lang/perl + >=sys-power/iasl-20090521" + +S="${WORKDIR}/pmtools" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-20100123-acpixtract-pmtools.patch + epatch "${FILESDIR}"/${PN}-20100123-cflags-ldflags.patch + epatch "${FILESDIR}"/${PN}-20100123-madt.patch + epatch "${FILESDIR}"/${PN}-20071116-64bit.patch + + strip-unsupported-flags +} + +src_compile() { + # respect user's LDFLAGS + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die "emake failed" +} + +src_install() { + # acpidump access the ACPI data via /dev/mem or EFI firmware in /sys + dosbin acpidump/acpidump + # the other tools only process data + newbin acpixtract/acpixtract acpixtract-pmtools + dobin madt/madt + dosbin turbostat/turbostat + + dodoc README + docinto madt + dodoc madt/README madt/APIC* +} + +pkg_postinst() { + ewarn "Please note that acpixtract is now named acpixtract-pmtools to avoid" + ewarn "conflicts with the new tool of the same name from the iasl package." +} |