diff options
author | Peter Alfredsen <loki_val@gentoo.org> | 2008-08-31 22:21:07 +0000 |
---|---|---|
committer | Peter Alfredsen <loki_val@gentoo.org> | 2008-08-31 22:21:07 +0000 |
commit | 6ad071d4142d42fd6f37f07cd9cac29dd59e68d8 (patch) | |
tree | 9a3d428e4c683c4624b7bb97dc560b7645b8ee55 /sys-power/powertop | |
parent | Version bump (diff) | |
download | gentoo-2-6ad071d4142d42fd6f37f07cd9cac29dd59e68d8.tar.gz gentoo-2-6ad071d4142d42fd6f37f07cd9cac29dd59e68d8.tar.bz2 gentoo-2-6ad071d4142d42fd6f37f07cd9cac29dd59e68d8.zip |
Bump wrt bug 226373
(Portage version: 2.2_rc8/cvs/Linux 2.6.25.8 i686)
Diffstat (limited to 'sys-power/powertop')
-rw-r--r-- | sys-power/powertop/ChangeLog | 7 | ||||
-rw-r--r-- | sys-power/powertop/powertop-1.10.ebuild | 41 |
2 files changed, 47 insertions, 1 deletions
diff --git a/sys-power/powertop/ChangeLog b/sys-power/powertop/ChangeLog index 383984265061..d9849979ac56 100644 --- a/sys-power/powertop/ChangeLog +++ b/sys-power/powertop/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-power/powertop # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.22 2008/01/16 19:15:37 fmccor Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.23 2008/08/31 22:21:07 loki_val Exp $ + +*powertop-1.10 (31 Aug 2008) + + 31 Aug 2008; Peter Alfredsen <loki_val@gentoo.org> +powertop-1.10.ebuild: + Bump wrt bug 226373 16 Jan 2008; Ferris McCormick <fmccor@gentoo.org> powertop-1.9.ebuild: Sparc stable, Bug #202082 (although I am not sure it is meaningful on sparc, diff --git a/sys-power/powertop/powertop-1.10.ebuild b/sys-power/powertop/powertop-1.10.ebuild new file mode 100644 index 000000000000..522ae4fcbdbd --- /dev/null +++ b/sys-power/powertop/powertop-1.10.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-1.10.ebuild,v 1.1 2008/08/31 22:21:07 loki_val Exp $ + +inherit toolchain-funcs eutils + +DESCRIPTION="tool that helps you find what software is using the most power" +HOMEPAGE="http://www.lesswatts.org/projects/powertop/" +SRC_URI="http://www.lesswatts.org/projects/powertop/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" +IUSE="unicode" + +DEPEND="sys-libs/ncurses" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i '/${CFLAGS}/s:$: ${LDFLAGS}:' Makefile + use unicode || sed -i 's:-lncursesw:-lncurses:' Makefile +} + +src_compile() { + tc-export CC + emake || die +} + +src_install() { + emake install DESTDIR="${D}" || die + dodoc Changelog README + gunzip "${D}"/usr/share/man/man1/powertop.1.gz +} + +pkg_postinst() { + echo + einfo "For PowerTOP to work best, use a Linux kernel with the" + einfo "tickless idle (NO_HZ) feature enabled (version 2.6.21 or later)" + echo +} |