summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-08-30 08:35:24 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-08-30 08:35:24 +0000
commit22cd72cf1d577c984b7a23c2ad0cfc524450a1d1 (patch)
treeb69bdaf3fd3b7e44fa680455e20d601ee16a858e /sys-power
parentFixed manifest. (diff)
downloadgentoo-2-22cd72cf1d577c984b7a23c2ad0cfc524450a1d1.tar.gz
gentoo-2-22cd72cf1d577c984b7a23c2ad0cfc524450a1d1.tar.bz2
gentoo-2-22cd72cf1d577c984b7a23c2ad0cfc524450a1d1.zip
version bump
(Portage version: 2.1.3.7)
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/powertop/ChangeLog7
-rw-r--r--sys-power/powertop/files/digest-powertop-1.83
-rw-r--r--sys-power/powertop/powertop-1.8.ebuild41
3 files changed, 50 insertions, 1 deletions
diff --git a/sys-power/powertop/ChangeLog b/sys-power/powertop/ChangeLog
index 6ba1e852e148..b9d0ca9064c1 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.16 2007/08/16 00:22:11 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.17 2007/08/30 08:35:24 genstef Exp $
+
+*powertop-1.8 (30 Aug 2007)
+
+ 30 Aug 2007; Stefan Schweizer <genstef@gentoo.org> +powertop-1.8.ebuild:
+ version bump
16 Aug 2007; Christoph Mende <angelos@gentoo.org> powertop-1.7.ebuild:
Stable on amd64 wrt bug #188590
diff --git a/sys-power/powertop/files/digest-powertop-1.8 b/sys-power/powertop/files/digest-powertop-1.8
new file mode 100644
index 000000000000..36dc8fa8a17f
--- /dev/null
+++ b/sys-power/powertop/files/digest-powertop-1.8
@@ -0,0 +1,3 @@
+MD5 38fd8a6825cd62b6c22df8a44b4e27d0 powertop-1.8.tar.gz 66947
+RMD160 490b8ae69bfba22d075e07de45c91178da89e5ca powertop-1.8.tar.gz 66947
+SHA256 7325ea46e5af59c12ea024e69622ac7753010c8de615d668e1f03b0fc05bad3a powertop-1.8.tar.gz 66947
diff --git a/sys-power/powertop/powertop-1.8.ebuild b/sys-power/powertop/powertop-1.8.ebuild
new file mode 100644
index 000000000000..6e7e397fcc96
--- /dev/null
+++ b/sys-power/powertop/powertop-1.8.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.8.ebuild,v 1.1 2007/08/30 08:35:24 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
+}