From 70e4c3829f30e34e5ca6aadc59f56bd558bdaa48 Mon Sep 17 00:00:00 2001 From: martn Date: Tue, 22 Aug 2006 21:26:18 +0000 Subject: sys-power/powerthend: New Ebuild for bug #142964 svn path=/sunrise/; revision=1001 --- sys-power/powerthend/ChangeLog | 8 ++++++ sys-power/powerthend/Manifest | 24 +++++++++++++++++ sys-power/powerthend/files/digest-powerthend-1.1.1 | 3 +++ sys-power/powerthend/files/powerthend.confd | 5 ++++ sys-power/powerthend/files/powerthend.rc | 20 +++++++++++++++ sys-power/powerthend/metadata.xml | 5 ++++ sys-power/powerthend/powerthend-1.1.1.ebuild | 30 ++++++++++++++++++++++ 7 files changed, 95 insertions(+) create mode 100644 sys-power/powerthend/ChangeLog create mode 100644 sys-power/powerthend/Manifest create mode 100644 sys-power/powerthend/files/digest-powerthend-1.1.1 create mode 100644 sys-power/powerthend/files/powerthend.confd create mode 100755 sys-power/powerthend/files/powerthend.rc create mode 100644 sys-power/powerthend/metadata.xml create mode 100644 sys-power/powerthend/powerthend-1.1.1.ebuild diff --git a/sys-power/powerthend/ChangeLog b/sys-power/powerthend/ChangeLog new file mode 100644 index 000000000..4031384ee --- /dev/null +++ b/sys-power/powerthend/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sys-power/powerthend +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 22 Aug 2006; martn +powerthend-1.1.1.ebuild, + +files/powerthend.confd, +files/powerthend.rc, +metadata.xml: + New Ebuild for bug #142964 + diff --git a/sys-power/powerthend/Manifest b/sys-power/powerthend/Manifest new file mode 100644 index 000000000..807e48514 --- /dev/null +++ b/sys-power/powerthend/Manifest @@ -0,0 +1,24 @@ +AUX powerthend.confd 163 RMD160 c60c3c7af96007abd0c1ed1721eec60756d38b6e SHA1 20b3f3d9972fa58d79cddb4289667b73014160b0 SHA256 24ef9d4fae66e80f4c3a4891512c064574fe9147972abd5aa1caaadfa80d425f +MD5 c7c77c7986bdc5d708424b15aa5dbfac files/powerthend.confd 163 +RMD160 c60c3c7af96007abd0c1ed1721eec60756d38b6e files/powerthend.confd 163 +SHA256 24ef9d4fae66e80f4c3a4891512c064574fe9147972abd5aa1caaadfa80d425f files/powerthend.confd 163 +AUX powerthend.rc 369 RMD160 2f991a2490f656cd5c4e02edf8a1e1cfa9a03903 SHA1 2486c6637bc8c3f258a581eea195cb2189013c62 SHA256 59929057f8a14065ff193885fd05161a67390198a9224b60640633fa8914c851 +MD5 a059fc8bd5a419abfbabce56c9923151 files/powerthend.rc 369 +RMD160 2f991a2490f656cd5c4e02edf8a1e1cfa9a03903 files/powerthend.rc 369 +SHA256 59929057f8a14065ff193885fd05161a67390198a9224b60640633fa8914c851 files/powerthend.rc 369 +DIST powerthend-1.1.1.tar.gz 15825 RMD160 517f45b63cc42715a0b3117d9b0b12675ded5e46 SHA1 a6de3bd7f9f630bfa52ae8b7d50d7fd838345ff2 SHA256 f8c90436891a17db5821bee0aa6c185c3ecc331aee5767224fd6203334c1422f +EBUILD powerthend-1.1.1.ebuild 644 RMD160 d7182c899d8b506a049ae3ede1fdc3d4557cac82 SHA1 9abdfc4bb052c1fe3206649c20f5b17d1f32d0df SHA256 61b399adf8b709aee87c9e0529a00df6cbc33720869f6db16ee1daf98e07ab5f +MD5 600a88adba21e692ad4a2f59423dd93e powerthend-1.1.1.ebuild 644 +RMD160 d7182c899d8b506a049ae3ede1fdc3d4557cac82 powerthend-1.1.1.ebuild 644 +SHA256 61b399adf8b709aee87c9e0529a00df6cbc33720869f6db16ee1daf98e07ab5f powerthend-1.1.1.ebuild 644 +MISC ChangeLog 290 RMD160 15c1bd176afc9dc4d5f527700752e5b6496aad91 SHA1 3d618564e74619bab0988e8c7134956bdc9e103c SHA256 d9054a7a3cd147a6b20af11b2b96838e5a3ca86ba92b50ee5b1fb279a63ae26b +MD5 aca2e94ffe91558d75bc4fd449c24af3 ChangeLog 290 +RMD160 15c1bd176afc9dc4d5f527700752e5b6496aad91 ChangeLog 290 +SHA256 d9054a7a3cd147a6b20af11b2b96838e5a3ca86ba92b50ee5b1fb279a63ae26b ChangeLog 290 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 +MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170 +RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170 +SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170 +MD5 7cc5a87b34c3ce17704240e996f8fb33 files/digest-powerthend-1.1.1 247 +RMD160 34bf1eeb79476b4052dc811969fb64b82093cae3 files/digest-powerthend-1.1.1 247 +SHA256 c448141387d65718bce68f51add0fa4983ff85a0a8cc542bb71b5c4d40e13c39 files/digest-powerthend-1.1.1 247 diff --git a/sys-power/powerthend/files/digest-powerthend-1.1.1 b/sys-power/powerthend/files/digest-powerthend-1.1.1 new file mode 100644 index 000000000..b0413ff0b --- /dev/null +++ b/sys-power/powerthend/files/digest-powerthend-1.1.1 @@ -0,0 +1,3 @@ +MD5 fc99bb7d2d6fbcb6f11af4d0133d0c7e powerthend-1.1.1.tar.gz 15825 +RMD160 517f45b63cc42715a0b3117d9b0b12675ded5e46 powerthend-1.1.1.tar.gz 15825 +SHA256 f8c90436891a17db5821bee0aa6c185c3ecc331aee5767224fd6203334c1422f powerthend-1.1.1.tar.gz 15825 diff --git a/sys-power/powerthend/files/powerthend.confd b/sys-power/powerthend/files/powerthend.confd new file mode 100644 index 000000000..9ce2fbc98 --- /dev/null +++ b/sys-power/powerthend/files/powerthend.confd @@ -0,0 +1,5 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# For more info see `powerthend -h` +POWERTHEND_OPTS="" diff --git a/sys-power/powerthend/files/powerthend.rc b/sys-power/powerthend/files/powerthend.rc new file mode 100755 index 000000000..09133a656 --- /dev/null +++ b/sys-power/powerthend/files/powerthend.rc @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need localmount + use logger +} + +start() { + ebegin "Starting powerthend" + /usr/sbin/powerthend -q ${POWERTHEND_OPTS} + eend $? +} + +stop() { + ebegin "Stopping powerthend" + start-stop-daemon --stop --exec /usr/sbin/powerthend + eend $? +} diff --git a/sys-power/powerthend/metadata.xml b/sys-power/powerthend/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/sys-power/powerthend/metadata.xml @@ -0,0 +1,5 @@ + + + +maintainer-wanted + diff --git a/sys-power/powerthend/powerthend-1.1.1.ebuild b/sys-power/powerthend/powerthend-1.1.1.ebuild new file mode 100644 index 000000000..9e85ebaf9 --- /dev/null +++ b/sys-power/powerthend/powerthend-1.1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="Daemon to control the speed and voltage of CPUs" +HOMEPAGE="http://powerthend.scheissname.de/" +SRC_URI="http://powerthend.scheissname.de/sources/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc" +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i "s:-O2:${CFLAGS}:" Makefile +} + +src_compile() { + emake powerthend || die "make failed" +} + +src_install() { + dosbin powerthend || die + dodoc README + + doconfd ${FILESDIR}/powerthend.confd powerthend + doinitd ${FILESDIR}/powerthend.rc powerthend +} -- cgit v1.2.3-65-gdbad