diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-05-13 13:13:59 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-05-13 13:13:59 +0000 |
commit | b751ecaab89d0f18f0e69531155428fbb90efa03 (patch) | |
tree | f36a7f7979dd0a5f11e6f2e6cddc754fe67bab19 /sys-power | |
parent | Update metadata for doc++ (diff) | |
download | gentoo-2-b751ecaab89d0f18f0e69531155428fbb90efa03.tar.gz gentoo-2-b751ecaab89d0f18f0e69531155428fbb90efa03.tar.bz2 gentoo-2-b751ecaab89d0f18f0e69531155428fbb90efa03.zip |
New ebuild thanks to Christian Merkle <gentoo-bugzilla@luemmel.org> in bug 178130
(Portage version: 2.1.2.7)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/powertop/ChangeLog | 11 | ||||
-rw-r--r-- | sys-power/powertop/Manifest | 16 | ||||
-rw-r--r-- | sys-power/powertop/files/digest-powertop-1.0 | 3 | ||||
-rw-r--r-- | sys-power/powertop/metadata.xml | 5 | ||||
-rw-r--r-- | sys-power/powertop/powertop-1.0.ebuild | 35 |
5 files changed, 70 insertions, 0 deletions
diff --git a/sys-power/powertop/ChangeLog b/sys-power/powertop/ChangeLog new file mode 100644 index 000000000000..870bab3cfc29 --- /dev/null +++ b/sys-power/powertop/ChangeLog @@ -0,0 +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.1 2007/05/13 13:13:59 genstef Exp $ + +*powertop-1.0 (13 May 2007) + + 13 May 2007; Stefan Schweizer <genstef@gentoo.org> +metadata.xml, + +powertop-1.0.ebuild: + New ebuild thanks to Christian Merkle <gentoo-bugzilla@luemmel.org> in bug + 178130 + diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest new file mode 100644 index 000000000000..686f3282eb61 --- /dev/null +++ b/sys-power/powertop/Manifest @@ -0,0 +1,16 @@ +DIST powertop-1.0.tar.gz 11386 RMD160 959a8340077881e14c55dfaf7d2e2449b876c3f0 SHA1 a04f8f8fc8572c43ade645ad6e1bfd5061dbd8a0 SHA256 1fa5cf41a8333ff9b060f28c1291657d1527b5efc45f951e2600c3175f035922 +EBUILD powertop-1.0.ebuild 944 RMD160 6269ffacbee03eb25faddaaea966b63ca6d651c0 SHA1 8efca3db1fb8d68095b0d666dbef728582b476b3 SHA256 ccf1827e66a93e55d30a0a5a004a2ff58c076fbafea6a1b3ba456a7929f523b5 +MD5 e9163f1528decf56ae796318622819ec powertop-1.0.ebuild 944 +RMD160 6269ffacbee03eb25faddaaea966b63ca6d651c0 powertop-1.0.ebuild 944 +SHA256 ccf1827e66a93e55d30a0a5a004a2ff58c076fbafea6a1b3ba456a7929f523b5 powertop-1.0.ebuild 944 +MISC ChangeLog 327 RMD160 d80b65cbdc86ec378a266857d1b73c4e314023f3 SHA1 3306e624c342cd8bcaa8df0b6d75311e96d457cf SHA256 6a3ae81ae6e9d44f97a62c107413ef5c2a57578090e3dc758d94954579d26dc6 +MD5 942e7885336bc234d449508d02bd027c ChangeLog 327 +RMD160 d80b65cbdc86ec378a266857d1b73c4e314023f3 ChangeLog 327 +SHA256 6a3ae81ae6e9d44f97a62c107413ef5c2a57578090e3dc758d94954579d26dc6 ChangeLog 327 +MISC metadata.xml 161 RMD160 a5e1f234c4886ff31d39f229a0cf30d0bfcea869 SHA1 3876fd42cd9e63a7edb04c5025d53d773aa80bc3 SHA256 838bd208a7f948ea9b4e2b8869464622bc64a2f02468de4c3d7f6c2530e28e89 +MD5 87b4fef99cfd40eeaad036b7e44efde5 metadata.xml 161 +RMD160 a5e1f234c4886ff31d39f229a0cf30d0bfcea869 metadata.xml 161 +SHA256 838bd208a7f948ea9b4e2b8869464622bc64a2f02468de4c3d7f6c2530e28e89 metadata.xml 161 +MD5 6af97b1124c557d8ce1a39eff87fd0df files/digest-powertop-1.0 235 +RMD160 360e4dfbc0587386a6e591d7c9a912653ebb30e5 files/digest-powertop-1.0 235 +SHA256 a8da0985149c115ca9e108db59ba5822c39835d9c844233a928eff4d5fd41846 files/digest-powertop-1.0 235 diff --git a/sys-power/powertop/files/digest-powertop-1.0 b/sys-power/powertop/files/digest-powertop-1.0 new file mode 100644 index 000000000000..0b64f18cb72c --- /dev/null +++ b/sys-power/powertop/files/digest-powertop-1.0 @@ -0,0 +1,3 @@ +MD5 c2f64f27cc3f6cb90fa40c2c40c025e5 powertop-1.0.tar.gz 11386 +RMD160 959a8340077881e14c55dfaf7d2e2449b876c3f0 powertop-1.0.tar.gz 11386 +SHA256 1fa5cf41a8333ff9b060f28c1291657d1527b5efc45f951e2600c3175f035922 powertop-1.0.tar.gz 11386 diff --git a/sys-power/powertop/metadata.xml b/sys-power/powertop/metadata.xml new file mode 100644 index 000000000000..d957addb198b --- /dev/null +++ b/sys-power/powertop/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>mobile</herd> +</pkgmetadata> diff --git a/sys-power/powertop/powertop-1.0.ebuild b/sys-power/powertop/powertop-1.0.ebuild new file mode 100644 index 000000000000..bc34c89063e0 --- /dev/null +++ b/sys-power/powertop/powertop-1.0.ebuild @@ -0,0 +1,35 @@ +# 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.0.ebuild,v 1.1 2007/05/13 13:13:59 genstef Exp $ + +inherit toolchain-funcs + +DESCRIPTION="PowerTOP is a Linux tool that finds the software component(s) that make your laptop use more power than necessary while it is idle." +HOMEPAGE="http://www.linuxpowertop.org" +SRC_URI="http://www.linuxpowertop.org/download/${P}.tar.gz" + + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="" +RDEPEND="" +S=${WORKDIR}/${PN} + +src_compile() { + echo $(tc-getCC) ${CFLAGS} ${LDFLAGS} powertop.c config.c -o powertop + $(tc-getCC) ${CFLAGS} ${LDFLAGS} powertop.c config.c -o powertop +} + +src_install() { + dobin powertop +} + +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 +} |