From 42e1a237bc706cdaa1d3e7c296d2931225b57a24 Mon Sep 17 00:00:00 2001 From: Jim Ramsay Date: Fri, 23 Feb 2007 00:27:58 +0000 Subject: [PATCH] New package (bug 49314) Package-Manager: portage-2.1.2-r10 --- x11-plugins/gkrellm-cpufreq/ChangeLog | 10 ++++ x11-plugins/gkrellm-cpufreq/Manifest | 16 +++++++ .../files/digest-gkrellm-cpufreq-0.5.5 | 3 ++ .../gkrellm-cpufreq-0.5.5.ebuild | 47 +++++++++++++++++++ x11-plugins/gkrellm-cpufreq/metadata.xml | 9 ++++ 5 files changed, 85 insertions(+) create mode 100644 x11-plugins/gkrellm-cpufreq/ChangeLog create mode 100644 x11-plugins/gkrellm-cpufreq/Manifest create mode 100644 x11-plugins/gkrellm-cpufreq/files/digest-gkrellm-cpufreq-0.5.5 create mode 100644 x11-plugins/gkrellm-cpufreq/gkrellm-cpufreq-0.5.5.ebuild create mode 100644 x11-plugins/gkrellm-cpufreq/metadata.xml diff --git a/x11-plugins/gkrellm-cpufreq/ChangeLog b/x11-plugins/gkrellm-cpufreq/ChangeLog new file mode 100644 index 000000000000..d979fbf6412d --- /dev/null +++ b/x11-plugins/gkrellm-cpufreq/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-plugins/gkrellm-cpufreq +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-cpufreq/ChangeLog,v 1.1 2007/02/23 00:27:58 lack Exp $ + +*gkrellm-cpufreq-0.5.5 (23 Feb 2007) + + 23 Feb 2007; Jim Ramsay +metadata.xml, + +gkrellm-cpufreq-0.5.5.ebuild: + New package (bug 49314) + diff --git a/x11-plugins/gkrellm-cpufreq/Manifest b/x11-plugins/gkrellm-cpufreq/Manifest new file mode 100644 index 000000000000..8979c34f3903 --- /dev/null +++ b/x11-plugins/gkrellm-cpufreq/Manifest @@ -0,0 +1,16 @@ +DIST gkrellm2-cpufreq-0.5.5.tar.gz 14647 RMD160 3d45f2f2ef2a69a267991afa6bf4c2424e177224 SHA1 7df41c1d833e53f84cb8097327d3a960625f4aca SHA256 f044169e9bc23df694fe551f7636a13156d827a220e1bdc28774c0c1ae1d7561 +EBUILD gkrellm-cpufreq-0.5.5.ebuild 1167 RMD160 9dea83d8647b2e228453a10139769a22d0b9b6d4 SHA1 3a12d6235eedcd76b859e7e53b6bfbb2f37d1cd6 SHA256 3f5ea1b83665d311a91e898f8fcf2c526f0eac4d678812e41ece5cfde0255778 +MD5 75ed3afab26fd299c351b8128eb2eed4 gkrellm-cpufreq-0.5.5.ebuild 1167 +RMD160 9dea83d8647b2e228453a10139769a22d0b9b6d4 gkrellm-cpufreq-0.5.5.ebuild 1167 +SHA256 3f5ea1b83665d311a91e898f8fcf2c526f0eac4d678812e41ece5cfde0255778 gkrellm-cpufreq-0.5.5.ebuild 1167 +MISC ChangeLog 382 RMD160 b5cd231f5294c0b3336e6c4815a17dabc8f871dd SHA1 9623cd2ac99c6a48ce56cfca495240998843c714 SHA256 81985622c4400ffc56baa3cb4b6c9b064dd8fb3792e8e4002587fc414fc82ee5 +MD5 79b77394b4c2f8cff73dafad7286c6de ChangeLog 382 +RMD160 b5cd231f5294c0b3336e6c4815a17dabc8f871dd ChangeLog 382 +SHA256 81985622c4400ffc56baa3cb4b6c9b064dd8fb3792e8e4002587fc414fc82ee5 ChangeLog 382 +MISC metadata.xml 254 RMD160 415926d9875e8fe9b0d03e74435ad2521fac159c SHA1 172a4c3880766b1bb7e75f4f2b4ed0b62c1d2d6c SHA256 dafc7e6c5cb681b9d6ecbe2ff4280bb987d3533c30bb334b4845faee02aa7279 +MD5 599b71bb15dd853af7b7733ed80c5d79 metadata.xml 254 +RMD160 415926d9875e8fe9b0d03e74435ad2521fac159c metadata.xml 254 +SHA256 dafc7e6c5cb681b9d6ecbe2ff4280bb987d3533c30bb334b4845faee02aa7279 metadata.xml 254 +MD5 eeaf5093d122c423664d99421fc1c624 files/digest-gkrellm-cpufreq-0.5.5 265 +RMD160 f72c3a0af1c978f3b26839f622d618c4e9051ae3 files/digest-gkrellm-cpufreq-0.5.5 265 +SHA256 5b60ac29fdd47eb630d36df32e5dd8b332a4b5a43d6540278608ac7c773a9c62 files/digest-gkrellm-cpufreq-0.5.5 265 diff --git a/x11-plugins/gkrellm-cpufreq/files/digest-gkrellm-cpufreq-0.5.5 b/x11-plugins/gkrellm-cpufreq/files/digest-gkrellm-cpufreq-0.5.5 new file mode 100644 index 000000000000..5aeeed016676 --- /dev/null +++ b/x11-plugins/gkrellm-cpufreq/files/digest-gkrellm-cpufreq-0.5.5 @@ -0,0 +1,3 @@ +MD5 c7fd073c1fd4d32cb76ab131cf29e1fe gkrellm2-cpufreq-0.5.5.tar.gz 14647 +RMD160 3d45f2f2ef2a69a267991afa6bf4c2424e177224 gkrellm2-cpufreq-0.5.5.tar.gz 14647 +SHA256 f044169e9bc23df694fe551f7636a13156d827a220e1bdc28774c0c1ae1d7561 gkrellm2-cpufreq-0.5.5.tar.gz 14647 diff --git a/x11-plugins/gkrellm-cpufreq/gkrellm-cpufreq-0.5.5.ebuild b/x11-plugins/gkrellm-cpufreq/gkrellm-cpufreq-0.5.5.ebuild new file mode 100644 index 000000000000..c45aed051c89 --- /dev/null +++ b/x11-plugins/gkrellm-cpufreq/gkrellm-cpufreq-0.5.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-cpufreq/gkrellm-cpufreq-0.5.5.ebuild,v 1.1 2007/02/23 00:27:58 lack Exp $ + +inherit multilib + +MY_P=${P/gkrellm/gkrellm2} + +DESCRIPTION="A Gkrellm2 plugin for displaying and manipulating CPU frequency" +HOMEPAGE="http://iacs.epfl.ch/~winkelma/gkrellm2-cpufreq/" +SRC_URI="http://iacs.epfl.ch/~winkelma/gkrellm2-cpufreq//${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="=app-admin/gkrellm-2*" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + dodoc README + insinto /usr/$(get_libdir)/gkrellm2/plugins + doins cpufreq.so + exeinto /usr/sbin + doexe cpufreqset + doexe cpufreqsetgovernor + doexe cpufreqnextgovernor +} + +pkg_postinst() { + echo + einfo "Add this to /etc/sudors to allow users to change cpu governor and speed:" + einfo "ALL ALL=NOPASSWD:/usr/sbin/cpufreqset [0-9]*" + einfo "ALL ALL=NOPASSWD:/usr/sbin/cpufreqnextgovernor" + einfo "ALL ALL=NOPASSWD:/usr/sbin/cpufreqsetgovernor [a-z]*" + echo +} + diff --git a/x11-plugins/gkrellm-cpufreq/metadata.xml b/x11-plugins/gkrellm-cpufreq/metadata.xml new file mode 100644 index 000000000000..220d60947054 --- /dev/null +++ b/x11-plugins/gkrellm-cpufreq/metadata.xml @@ -0,0 +1,9 @@ + + + + desktop-dock + + lack@gentoo.org + Jim Ramsay + + -- 2.26.2