diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2014-02-17 06:17:24 +0000 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2014-02-17 06:17:24 +0000 |
commit | 6536e5d92ccf2d4f910db7dc68490378b71ca5dc (patch) | |
tree | b327627f7eb7275f9623264d285f63eb29b0edd2 /sys-power | |
parent | Version bump. (diff) | |
download | gentoo-2-6536e5d92ccf2d4f910db7dc68490378b71ca5dc.tar.gz gentoo-2-6536e5d92ccf2d4f910db7dc68490378b71ca5dc.tar.bz2 gentoo-2-6536e5d92ccf2d4f910db7dc68490378b71ca5dc.zip |
fixes for bug 420607
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/pmtools/ChangeLog | 10 | ||||
-rw-r--r-- | sys-power/pmtools/pmtools-20110323-r1.ebuild | 55 |
2 files changed, 63 insertions, 2 deletions
diff --git a/sys-power/pmtools/ChangeLog b/sys-power/pmtools/ChangeLog index 93c8b2124158..b206bf26a159 100644 --- a/sys-power/pmtools/ChangeLog +++ b/sys-power/pmtools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-power/pmtools -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/ChangeLog,v 1.22 2013/11/03 06:11:28 prometheanfire Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/ChangeLog,v 1.23 2014/02/17 06:17:24 prometheanfire Exp $ + +*pmtools-20110323-r1 (17 Feb 2014) + + 17 Feb 2014; Matthew Thode <prometheanfire@gentoo.org> + +pmtools-20110323-r1.ebuild: + fixes for bug 420607 03 Nov 2013; Matthew Thode <prometheanfire@gentoo.org> metadata.xml: adding myself to the list of maintainers diff --git a/sys-power/pmtools/pmtools-20110323-r1.ebuild b/sys-power/pmtools/pmtools-20110323-r1.ebuild new file mode 100644 index 000000000000..832acd4fc519 --- /dev/null +++ b/sys-power/pmtools/pmtools-20110323-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/pmtools-20110323-r1.ebuild,v 1.1 2014/02/17 06:17:24 prometheanfire Exp $ + +EAPI=5 + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="Collection of tools for ACPI and power management" +HOMEPAGE="https://github.com/anyc/pmtools/" +SRC_URI="https://github.com/anyc/pmtools/tarball/${PV} -> ${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" +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-madt.patch + epatch "${FILESDIR}"/${PN}-20071116-64bit.patch + epatch "${FILESDIR}"/${PN}-20101124-cflags-ldflags.patch + + # update version info + sed -i -e "s|20060324|20110323|" acpixtract/acpixtract.c + + strip-unsupported-flags +} + +src_compile() { + # respect user's LDFLAGS + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die "emake failed" +} + +src_install() { + dosbin acpidump/acpidump + newbin acpixtract/acpixtract acpixtract-pmtools + dobin madt/madt + + dodoc README + docinto madt + dodoc madt/README + use doc && dodoc 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." +} |