summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-06-05 09:56:11 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-06-05 09:56:11 +0000
commitbbcd177189d193b1bae98c582a98466dbbb52818 (patch)
tree4f98787b3a3bed8a7089075f3b8d6dd6f063f471 /sys-power/powermgmt-base
parentFix typo EROOR->EROOT (diff)
downloadgentoo-2-bbcd177189d193b1bae98c582a98466dbbb52818.tar.gz
gentoo-2-bbcd177189d193b1bae98c582a98466dbbb52818.tar.bz2
gentoo-2-bbcd177189d193b1bae98c582a98466dbbb52818.zip
Update from eapi2 to eapi5
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-power/powermgmt-base')
-rw-r--r--sys-power/powermgmt-base/ChangeLog8
-rw-r--r--sys-power/powermgmt-base/powermgmt-base-1.31.ebuild16
2 files changed, 14 insertions, 10 deletions
diff --git a/sys-power/powermgmt-base/ChangeLog b/sys-power/powermgmt-base/ChangeLog
index bffbe2eba395..454ea9f426bc 100644
--- a/sys-power/powermgmt-base/ChangeLog
+++ b/sys-power/powermgmt-base/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-power/powermgmt-base
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powermgmt-base/ChangeLog,v 1.27 2013/02/09 22:37:00 ottxor Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powermgmt-base/ChangeLog,v 1.28 2014/06/05 09:56:11 ssuominen Exp $
+
+ 05 Jun 2014; Samuli Suominen <ssuominen@gentoo.org>
+ powermgmt-base-1.31.ebuild:
+ Update from eapi2 to eapi5
09 Feb 2013; Christoph Junghans <ottxor@gentoo.org>
powermgmt-base-1.31.ebuild:
diff --git a/sys-power/powermgmt-base/powermgmt-base-1.31.ebuild b/sys-power/powermgmt-base/powermgmt-base-1.31.ebuild
index f1134ab3300d..e08906a15b9a 100644
--- a/sys-power/powermgmt-base/powermgmt-base-1.31.ebuild
+++ b/sys-power/powermgmt-base/powermgmt-base-1.31.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powermgmt-base/powermgmt-base-1.31.ebuild,v 1.10 2013/02/09 22:37:00 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powermgmt-base/powermgmt-base-1.31.ebuild,v 1.11 2014/06/05 09:56:11 ssuominen Exp $
-EAPI=2
+EAPI=5
inherit toolchain-funcs
DESCRIPTION="Script to test whether computer is running on AC power"
@@ -29,19 +29,19 @@ src_prepare() {
src_compile() {
tc-export CC
- emake CFLAGS="${CFLAGS} -Wall -Wstrict-prototypes -DLINUX" || die
+ emake CFLAGS="${CFLAGS} -Wall -Wstrict-prototypes -DLINUX"
}
src_install() {
dodir /sbin
- emake DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" install
- doman man/{acpi,apm}_available.1 || die
+ doman man/{acpi,apm}_available.1
if ! use pm-utils; then
- doman man/on_ac_power.1 || die
+ doman man/on_ac_power.1
else
- rm -f "${D}"/sbin/on_ac_power || die
+ rm -f "${D}"/sbin/on_ac_power
fi
newdoc debian/powermgmt-base.README.Debian README