summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-03-29 03:39:03 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-03-29 03:39:03 +0000
commita096d08ca5ec5c9f1da8d58b4472fa80da360835 (patch)
treec9d48a3320e45197ffb99c7a512243e61b569052 /sys-apps/cpuspeedy
parentfixes bug #45821. Thanks to Jernej Simoncic (diff)
downloadgentoo-2-a096d08ca5ec5c9f1da8d58b4472fa80da360835.tar.gz
gentoo-2-a096d08ca5ec5c9f1da8d58b4472fa80da360835.tar.bz2
gentoo-2-a096d08ca5ec5c9f1da8d58b4472fa80da360835.zip
Inital import - thanks to Lukasz Strzygowski <lucass@gentoo.pl> in bug #45841
Diffstat (limited to 'sys-apps/cpuspeedy')
-rw-r--r--sys-apps/cpuspeedy/ChangeLog10
-rw-r--r--sys-apps/cpuspeedy/Manifest2
-rw-r--r--sys-apps/cpuspeedy/cpuspeedy-0.2.ebuild28
-rw-r--r--sys-apps/cpuspeedy/files/cpuspeedy-0.2.patch11
-rw-r--r--sys-apps/cpuspeedy/files/digest-cpuspeedy-0.21
-rw-r--r--sys-apps/cpuspeedy/metadata.xml15
6 files changed, 67 insertions, 0 deletions
diff --git a/sys-apps/cpuspeedy/ChangeLog b/sys-apps/cpuspeedy/ChangeLog
new file mode 100644
index 000000000000..1990e368a5a4
--- /dev/null
+++ b/sys-apps/cpuspeedy/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-apps/cpuspeedy
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpuspeedy/ChangeLog,v 1.1 2004/03/29 03:39:02 dragonheart Exp $
+
+*cpuspeedy-0.2 (29 Mar 2004)
+
+ 29 Mar 2004; Daniel Black <dragonheart@gentoo.org> cpuspeedy-0.2.ebuild,
+ metadata.xml,files/cpuspeedy-0.2.patch:
+ Inital import - thanks to Lukasz Strzygowski <lucass@gentoo.pl> in bug #45841
+
diff --git a/sys-apps/cpuspeedy/Manifest b/sys-apps/cpuspeedy/Manifest
new file mode 100644
index 000000000000..14dbf3b35d54
--- /dev/null
+++ b/sys-apps/cpuspeedy/Manifest
@@ -0,0 +1,2 @@
+MD5 d5798f0dc116cb1e4691694333ac2bc5 cpuspeedy-0.2.ebuild 562
+MD5 ec5c95b4a156602066c6819759ff66f6 files/digest-cpuspeedy-0.2 64
diff --git a/sys-apps/cpuspeedy/cpuspeedy-0.2.ebuild b/sys-apps/cpuspeedy/cpuspeedy-0.2.ebuild
new file mode 100644
index 000000000000..d2d2a901db45
--- /dev/null
+++ b/sys-apps/cpuspeedy/cpuspeedy-0.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpuspeedy/cpuspeedy-0.2.ebuild,v 1.1 2004/03/29 03:39:02 dragonheart Exp $
+
+DESCRIPTION="A simple and easy to use program to control the speed and the voltage of CPUs on the fly."
+SRC_URI="mirror://sourceforge/cpuspeedy/${P}.tar.gz"
+HOMEPAGE="http://cpuspeedy.sourceforge.net/"
+KEYWORDS="~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+RDEPEND="virtual/python"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}.patch
+}
+
+src_compile() {
+ einfo "There is nothing to compile."
+}
+
+src_install() {
+ dosbin cpuspeedy cpuspeedy
+ dodoc AUTHORS ChangeLog README
+}
+
diff --git a/sys-apps/cpuspeedy/files/cpuspeedy-0.2.patch b/sys-apps/cpuspeedy/files/cpuspeedy-0.2.patch
new file mode 100644
index 000000000000..743541b02e56
--- /dev/null
+++ b/sys-apps/cpuspeedy/files/cpuspeedy-0.2.patch
@@ -0,0 +1,11 @@
+--- cpuspeedy.py.old 2004-03-29 12:50:25.843441768 +0930
++++ cpuspeedy.py 2004-03-29 12:50:58.150530344 +0930
+@@ -526,7 +526,7 @@
+ cpufreq=pycpufreq()
+ except ERROR_NO_INTERFACE,ERROR_INVALID_INTERFACE:
+ # FIXME: hum this is dumb.
+- sys,stderr.write(PACKAGE+": "+"ERROR_NO_INTERFACE, ERROR_INVALID_INTERFACE"+"\n")
++ sys.stderr.write(PACKAGE+": "+"ERROR_NO_INTERFACE, ERROR_INVALID_INTERFACE"+"\n")
+ sys.exit(EXIT_FAILURE)
+
+ cpufreq.status()
diff --git a/sys-apps/cpuspeedy/files/digest-cpuspeedy-0.2 b/sys-apps/cpuspeedy/files/digest-cpuspeedy-0.2
new file mode 100644
index 000000000000..44c6b66bfa7d
--- /dev/null
+++ b/sys-apps/cpuspeedy/files/digest-cpuspeedy-0.2
@@ -0,0 +1 @@
+MD5 52189a93cfda2a9018358b477415f309 cpuspeedy-0.2.tar.gz 12130
diff --git a/sys-apps/cpuspeedy/metadata.xml b/sys-apps/cpuspeedy/metadata.xml
new file mode 100644
index 000000000000..69fb09fb6644
--- /dev/null
+++ b/sys-apps/cpuspeedy/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>dragonheart@gentoo.org</email>
+ <name>Daniel Black</name>
+ <description>If someone wants to take this over they can</description>
+</maintainer>
+<longdescription>
+Cpuspeedy is a simple tool written in Python which allows you to change the clock speed and voltage of the CPUs
+using the Linux's CPUFreq driver
+(copyied off ref url)
+</longdescription>
+</pkgmetadata>