summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2010-05-28 23:33:03 +0000
committerSebastian Pipping <sping@gentoo.org>2010-05-28 23:33:03 +0000
commitcffbeb09dc3f2489a0d86f88e07a1be8b6803519 (patch)
tree8ea779d94c7d372c1ec6a01d806b8699f1922ef9
parentAdd strigi dep, bug 306139 (diff)
downloadhistorical-cffbeb09dc3f2489a0d86f88e07a1be8b6803519.tar.gz
historical-cffbeb09dc3f2489a0d86f88e07a1be8b6803519.tar.bz2
historical-cffbeb09dc3f2489a0d86f88e07a1be8b6803519.zip
Add live ebuild (fixes bug #319011)
Package-Manager: portage-2.2_rc62/cvs/Linux i686
-rw-r--r--sys-power/powertop/ChangeLog7
-rw-r--r--sys-power/powertop/Manifest3
-rw-r--r--sys-power/powertop/powertop-9999.ebuild42
3 files changed, 50 insertions, 2 deletions
diff --git a/sys-power/powertop/ChangeLog b/sys-power/powertop/ChangeLog
index ff17ef7ee31c..8f44e94580b0 100644
--- a/sys-power/powertop/ChangeLog
+++ b/sys-power/powertop/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-power/powertop
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.32 2010/04/05 17:02:18 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.33 2010/05/28 23:33:03 sping Exp $
+
+*powertop-9999 (28 May 2010)
+
+ 28 May 2010; Sebastian Pipping <sping@gentoo.org> +powertop-9999.ebuild:
+ Add live ebuild, permission by bangert, fixes bug #319011
05 Apr 2010; Raúl Porcel <armin76@gentoo.org> powertop-1.11.ebuild:
sparc stable wrt #302349
diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest
index 6d3c6f32e92d..33fd72a566ec 100644
--- a/sys-power/powertop/Manifest
+++ b/sys-power/powertop/Manifest
@@ -6,5 +6,6 @@ EBUILD powertop-1.11.ebuild 1103 RMD160 352796f0e4974260fe498de282270cb388e211bc
EBUILD powertop-1.7.ebuild 1046 RMD160 4c516244481477406db0874e580eb3866d76b858 SHA1 72b05a66c555b07298be94c1acdc3410c06c487f SHA256 e6b3b37ee625bfb1672c1feef95f5cf7d9734d3cc950c7af71cb447923c464ad
EBUILD powertop-1.8.ebuild 1050 RMD160 260a9b42e85f50f4a5bc5923567bb58cd838ff4a SHA1 11973a5ab10f04aadd31c3ce568e1f7b85e3a422 SHA256 8994ccad55fb75c16eadb7557e06c14be45759d4e6f7e5332dd6121af9b9959e
EBUILD powertop-1.9.ebuild 1065 RMD160 610a474b1cad9af7dc2ac9038eb6bd8eb0727d25 SHA1 f8efddddc5089e2d93760f0a9a8f2cc744cb7745 SHA256 5f098140977e8e7cf7aa4e66ed30b88d1b8ea6a4001d296debcceffcfa0a97ff
-MISC ChangeLog 4561 RMD160 b999c9eec601175b2490d93c1b4c19e4e3f8eb88 SHA1 562c0c4597ecc293abf56d2e693459210faf3dcf SHA256 5126c356ec6a14b6dbf649782e7b190fa306818e77576f133cea3304c6e217d6
+EBUILD powertop-9999.ebuild 994 RMD160 1e43cb244e813bcadf0a21538d62644aa160e0d9 SHA1 33ee681157f7e73361c1ec1e69f15887cb7d6478 SHA256 5feac02eb3b3042206be412daaa4e8589666e4a893d3d944f8ffc0ee779134d4
+MISC ChangeLog 4725 RMD160 afff155a5af63941a4d86b0294b6f7c985edfb5b SHA1 7b388fd0fa58036a688d0b725de840c003352d40 SHA256 5e525a7cf795b467d276785e4cec4b19ba213d67a9b82e39b4604b71a607297c
MISC metadata.xml 161 RMD160 a5e1f234c4886ff31d39f229a0cf30d0bfcea869 SHA1 3876fd42cd9e63a7edb04c5025d53d773aa80bc3 SHA256 838bd208a7f948ea9b4e2b8869464622bc64a2f02468de4c3d7f6c2530e28e89
diff --git a/sys-power/powertop/powertop-9999.ebuild b/sys-power/powertop/powertop-9999.ebuild
new file mode 100644
index 000000000000..19b36b7f0096
--- /dev/null
+++ b/sys-power/powertop/powertop-9999.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2010 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.1 2010/05/28 23:33:03 sping Exp $
+
+EAPI=3
+
+inherit git 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=""
+EGIT_REPO_URI="git://git.moblin.org/powertop"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="unicode"
+
+DEPEND="sys-libs/ncurses[unicode?]
+ sys-devel/gettext"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ use unicode || sed -i 's:-lncursesw:-lncurses:' Makefile
+}
+
+src_configure() {
+ tc-export CC
+}
+
+src_install() {
+ emake install DESTDIR="${ED}" || die
+ dodoc Changelog README
+ gunzip "${ED}"/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
+}