From 2251e29ee6452b93a06ee95f9f658621801c7fd8 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 7 Jun 2008 01:23:05 +0000 Subject: Bug #187537, version bump. MADT patch integrated upstream. (Portage version: 2.1.5.4) --- sys-power/pmtools/ChangeLog | 10 ++++-- sys-power/pmtools/pmtools-20071116.ebuild | 51 +++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 sys-power/pmtools/pmtools-20071116.ebuild (limited to 'sys-power/pmtools') diff --git a/sys-power/pmtools/ChangeLog b/sys-power/pmtools/ChangeLog index 27bd9c900bd8..866bb22f5f5b 100644 --- a/sys-power/pmtools/ChangeLog +++ b/sys-power/pmtools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-power/pmtools -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/ChangeLog,v 1.4 2007/04/01 22:13:13 robbat2 Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/ChangeLog,v 1.5 2008/06/07 01:23:05 robbat2 Exp $ + +*pmtools-20071116 (07 Jun 2008) + + 07 Jun 2008; Robin H. Johnson + +pmtools-20071116.ebuild: + Bug #187537, version bump. MADT patch integrated upstream. *pmtools-20061130 (01 Apr 2007) diff --git a/sys-power/pmtools/pmtools-20071116.ebuild b/sys-power/pmtools/pmtools-20071116.ebuild new file mode 100644 index 000000000000..681e0d959bd7 --- /dev/null +++ b/sys-power/pmtools/pmtools-20071116.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/pmtools-20071116.ebuild,v 1.1 2008/06/07 01:23:05 robbat2 Exp $ + +inherit eutils 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="~ppc ~amd64 ~x86" +IUSE="" +DEPEND="virtual/libc" +RDEPEND="${DEPEND} + dev-lang/perl + >=sys-power/iasl-20060512" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Integrated upstream + #epatch "${FILESDIR}"/${PN}-20070714-madt.patch + + sed -i.orig \ + -e '/^CFLAGS/s, -s , ,' \ + "${S}"/acpidump/Makefile || die "sed failed" +} + +src_compile() { + emake CC="$(tc-getCC)" || 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 acpidump/acpitbl + dobin madt/madt + + 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." +} -- cgit v1.2.3-65-gdbad