diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-11-06 00:19:41 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-11-06 00:19:41 +0000 |
commit | f689af52d5f184b5fc86c561cdde5757f637c7d1 (patch) | |
tree | bd69706608c5a1b592fea64f17d9a6c38c1bad1d /sys-power/powertop | |
parent | - UberLord said to punt rc5 for a digest mismatch and now that r6 is here (diff) | |
download | gentoo-2-f689af52d5f184b5fc86c561cdde5757f637c7d1.tar.gz gentoo-2-f689af52d5f184b5fc86c561cdde5757f637c7d1.tar.bz2 gentoo-2-f689af52d5f184b5fc86c561cdde5757f637c7d1.zip |
version bump
(Portage version: 2.1.3.17)
Diffstat (limited to 'sys-power/powertop')
-rw-r--r-- | sys-power/powertop/ChangeLog | 7 | ||||
-rw-r--r-- | sys-power/powertop/files/digest-powertop-1.9 | 3 | ||||
-rw-r--r-- | sys-power/powertop/powertop-1.9.ebuild | 41 |
3 files changed, 50 insertions, 1 deletions
diff --git a/sys-power/powertop/ChangeLog b/sys-power/powertop/ChangeLog index b9d0ca9064c1..1bcedc63c59c 100644 --- a/sys-power/powertop/ChangeLog +++ b/sys-power/powertop/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-power/powertop # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.17 2007/08/30 08:35:24 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.18 2007/11/06 00:19:40 genstef Exp $ + +*powertop-1.9 (06 Nov 2007) + + 06 Nov 2007; Stefan Schweizer <genstef@gentoo.org> +powertop-1.9.ebuild: + version bump *powertop-1.8 (30 Aug 2007) diff --git a/sys-power/powertop/files/digest-powertop-1.9 b/sys-power/powertop/files/digest-powertop-1.9 new file mode 100644 index 000000000000..75d4578599f7 --- /dev/null +++ b/sys-power/powertop/files/digest-powertop-1.9 @@ -0,0 +1,3 @@ +MD5 7e2cd799941350a45586edac43760ac9 powertop-1.9.tar.gz 69395 +RMD160 d10c56e7222cb601d28f2d440385fa703a4b542b powertop-1.9.tar.gz 69395 +SHA256 41899a12c3436a3e623744f41b459d4a7a7aa96da32b22a3b301037b54062594 powertop-1.9.tar.gz 69395 diff --git a/sys-power/powertop/powertop-1.9.ebuild b/sys-power/powertop/powertop-1.9.ebuild new file mode 100644 index 000000000000..3042217fd114 --- /dev/null +++ b/sys-power/powertop/powertop-1.9.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-1.9.ebuild,v 1.1 2007/11/06 00:19:40 genstef Exp $ + +inherit toolchain-funcs eutils + +DESCRIPTION="tool that helps you find what software is using the most power" +HOMEPAGE="http://www.linuxpowertop.org/" +SRC_URI="http://www.linuxpowertop.org/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 +} |