summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-05-15 00:20:12 +0000
committerMike Frysinger <vapier@gentoo.org>2007-05-15 00:20:12 +0000
commit598febdf4d2b1a7c297df72f7800cf241b4075eb (patch)
treeb8ef6d00a730a33fb6076c79a92c5165a409624d /sys-power/powertop
parentAdded 2.6.22_rc1. (diff)
downloadgentoo-2-598febdf4d2b1a7c297df72f7800cf241b4075eb.tar.gz
gentoo-2-598febdf4d2b1a7c297df72f7800cf241b4075eb.tar.bz2
gentoo-2-598febdf4d2b1a7c297df72f7800cf241b4075eb.zip
Version bump and cleanup.
(Portage version: 2.1.2.7)
Diffstat (limited to 'sys-power/powertop')
-rw-r--r--sys-power/powertop/ChangeLog7
-rw-r--r--sys-power/powertop/files/digest-powertop-1.23
-rw-r--r--sys-power/powertop/powertop-1.2.ebuild32
3 files changed, 41 insertions, 1 deletions
diff --git a/sys-power/powertop/ChangeLog b/sys-power/powertop/ChangeLog
index 001e939c34d6..34b3ed9744e7 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.2 2007/05/13 18:45:48 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.3 2007/05/15 00:20:12 vapier Exp $
+
+*powertop-1.2 (15 May 2007)
+
+ 15 May 2007; Mike Frysinger <vapier@gentoo.org> +powertop-1.2.ebuild:
+ Version bump and cleanup.
*powertop-1.1 (13 May 2007)
diff --git a/sys-power/powertop/files/digest-powertop-1.2 b/sys-power/powertop/files/digest-powertop-1.2
new file mode 100644
index 000000000000..d847cbb5f1e0
--- /dev/null
+++ b/sys-power/powertop/files/digest-powertop-1.2
@@ -0,0 +1,3 @@
+MD5 fa18e6115e75417bf94ca38021f8959d powertop-1.2.tar.gz 14431
+RMD160 c5c1bda237c641093b6a0e4b477fd5b48e17e9c7 powertop-1.2.tar.gz 14431
+SHA256 ba2ca0c84cba1828de28136ec3be526871bb72f18137c9820aaa7bdedb1b76fc powertop-1.2.tar.gz 14431
diff --git a/sys-power/powertop/powertop-1.2.ebuild b/sys-power/powertop/powertop-1.2.ebuild
new file mode 100644
index 000000000000..b289a513d4a3
--- /dev/null
+++ b/sys-power/powertop/powertop-1.2.ebuild
@@ -0,0 +1,32 @@
+# 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.2.ebuild,v 1.1 2007/05/15 00:20:12 vapier Exp $
+
+inherit toolchain-funcs
+
+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="~x86"
+IUSE=""
+
+src_compile() {
+ tc-export CC
+ emake || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc Changelog README
+ doman powertop.1
+}
+
+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
+}