diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-11-13 13:10:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-11-13 13:10:00 +0000 |
commit | e9d044d4b9b71200a96adfa280848858c0f468c9 (patch) | |
tree | 1bd8ef816043a8cd340f1d774e79553a1a7d31d8 /sys-power/pmtools/pmtools-20110323-r1.ebuild | |
parent | fc2f1018fc323ef2c6572734a9b130427cba76a6 (diff) |
gentoo resync : 13.11.2021
Diffstat (limited to 'sys-power/pmtools/pmtools-20110323-r1.ebuild')
-rw-r--r-- | sys-power/pmtools/pmtools-20110323-r1.ebuild | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/sys-power/pmtools/pmtools-20110323-r1.ebuild b/sys-power/pmtools/pmtools-20110323-r1.ebuild index 250b3393cd7b..4edcb8cf77bb 100644 --- a/sys-power/pmtools/pmtools-20110323-r1.ebuild +++ b/sys-power/pmtools/pmtools-20110323-r1.ebuild @@ -1,33 +1,36 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 -inherit epatch flag-o-matic toolchain-funcs +inherit 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" +S="${WORKDIR}/pmtools" +LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="doc" -DEPEND="" -RDEPEND="${DEPEND} + +RDEPEND=" dev-lang/perl >=sys-power/iasl-20090521" -S="${WORKDIR}/pmtools" +PATCHES=( + "${FILESDIR}"/${PN}-20100123-acpixtract-pmtools.patch + "${FILESDIR}"/${PN}-20100123-madt.patch + "${FILESDIR}"/${PN}-20071116-64bit.patch + "${FILESDIR}"/${PN}-20101124-cflags-ldflags.patch +) 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 + default # update version info - sed -i -e "s|20060324|20110323|" acpixtract/acpixtract.c + sed -i -e "s|20060324|20110323|" acpixtract/acpixtract.c || die strip-unsupported-flags } |