summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-05-03 11:34:23 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-05-03 11:34:23 +0000
commit3c2e8b44f036079d499428c3910158ffc367668e (patch)
tree6ddbc2c8a4ec471a986b31f9c4c014881a80fca7 /sys-power
parentMigrate to git-2 eclass. (diff)
downloadgentoo-2-3c2e8b44f036079d499428c3910158ffc367668e.tar.gz
gentoo-2-3c2e8b44f036079d499428c3910158ffc367668e.tar.bz2
gentoo-2-3c2e8b44f036079d499428c3910158ffc367668e.zip
Move to git-2 and use eapi4 features more nicely.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/powertop/ChangeLog5
-rw-r--r--sys-power/powertop/powertop-9999.ebuild9
2 files changed, 9 insertions, 5 deletions
diff --git a/sys-power/powertop/ChangeLog b/sys-power/powertop/ChangeLog
index 882a35fac757..d0db2ff12231 100644
--- a/sys-power/powertop/ChangeLog
+++ b/sys-power/powertop/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-power/powertop
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.44 2011/03/15 09:42:47 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.45 2011/05/03 11:34:23 scarabeus Exp $
+
+ 03 May 2011; Tomáš Chvátal <scarabeus@gentoo.org> powertop-9999.ebuild:
+ Move to git-2 and use eapi4 features more nicely.
15 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org> powertop-1.97-r1.ebuild,
powertop-9999.ebuild:
diff --git a/sys-power/powertop/powertop-9999.ebuild b/sys-power/powertop/powertop-9999.ebuild
index 8b31fc91b3df..8932a3a594c0 100644
--- a/sys-power/powertop/powertop-9999.ebuild
+++ b/sys-power/powertop/powertop-9999.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v 1.5 2011/03/15 11:08:34 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-9999.ebuild,v 1.6 2011/05/03 11:34:23 scarabeus Exp $
EAPI=4
-inherit eutils toolchain-funcs git
+inherit eutils toolchain-funcs git-2
DESCRIPTION="tool that helps you find what software is using the most power"
HOMEPAGE="http://www.lesswatts.org/projects/powertop/"
@@ -29,6 +29,8 @@ RDEPEND="
x11-apps/xset
"
+DOCS=( TODO README )
+
src_prepare() {
use unicode || sed -i 's:-lncursesw:-lncurses:' Makefile
# fix ldflags
@@ -44,8 +46,7 @@ src_configure() {
}
src_install() {
- emake install DESTDIR="${ED}"
- dodoc TODO README
+ default
keepdir /var/cache/powertop
}