summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-05 23:50:27 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-05 23:50:27 +0000
commit4911bd9be262467352b0181c95766ae0860b2a44 (patch)
tree9b7c860b88e5747911b7161d39dd97231185c353 /sys-apps/powernowd
parentadded amd64 to keywords (diff)
downloadhistorical-4911bd9be262467352b0181c95766ae0860b2a44.tar.gz
historical-4911bd9be262467352b0181c95766ae0860b2a44.tar.bz2
historical-4911bd9be262467352b0181c95766ae0860b2a44.zip
initial ebuild #43390
Diffstat (limited to 'sys-apps/powernowd')
-rw-r--r--sys-apps/powernowd/ChangeLog8
-rw-r--r--sys-apps/powernowd/files/digest-powernowd-0.901
-rw-r--r--sys-apps/powernowd/files/powernowd.confd6
-rw-r--r--sys-apps/powernowd/files/powernowd.rc21
-rw-r--r--sys-apps/powernowd/powernowd-0.90.ebuild36
5 files changed, 72 insertions, 0 deletions
diff --git a/sys-apps/powernowd/ChangeLog b/sys-apps/powernowd/ChangeLog
new file mode 100644
index 000000000000..12ee364714ae
--- /dev/null
+++ b/sys-apps/powernowd/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for sys-apps/powernowd
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/powernowd/ChangeLog,v 1.1 2004/04/05 23:50:27 vapier Exp $
+
+*powernowd-0.90 (05 Apr 2004)
+
+ 05 Apr 2004; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Kai Groner #43390.
diff --git a/sys-apps/powernowd/files/digest-powernowd-0.90 b/sys-apps/powernowd/files/digest-powernowd-0.90
new file mode 100644
index 000000000000..da9a6538a26b
--- /dev/null
+++ b/sys-apps/powernowd/files/digest-powernowd-0.90
@@ -0,0 +1 @@
+MD5 7631c0fb0218ba26428df62a47259819 powernowd-0.90hun6.tar.gz 27251
diff --git a/sys-apps/powernowd/files/powernowd.confd b/sys-apps/powernowd/files/powernowd.confd
new file mode 100644
index 000000000000..cf78e3f920a0
--- /dev/null
+++ b/sys-apps/powernowd/files/powernowd.confd
@@ -0,0 +1,6 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/powernowd/files/powernowd.confd,v 1.1 2004/04/05 23:50:27 vapier Exp $
+
+# For more info see `powernowd -h`
+POWERNOWD_OPTS=""
diff --git a/sys-apps/powernowd/files/powernowd.rc b/sys-apps/powernowd/files/powernowd.rc
new file mode 100644
index 000000000000..c564a5cfdcae
--- /dev/null
+++ b/sys-apps/powernowd/files/powernowd.rc
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/powernowd/files/powernowd.rc,v 1.1 2004/04/05 23:50:27 vapier Exp $
+
+depend() {
+ need localmount
+ use logger
+}
+
+start() {
+ ebegin "Starting powernowd"
+ /usr/sbin/powernowd -q ${POWERNOWD_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping powernowd"
+ start-stop-daemon --stop --exec /usr/sbin/powernowd
+ eend $?
+}
diff --git a/sys-apps/powernowd/powernowd-0.90.ebuild b/sys-apps/powernowd/powernowd-0.90.ebuild
new file mode 100644
index 000000000000..6f7f20bf35ed
--- /dev/null
+++ b/sys-apps/powernowd/powernowd-0.90.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/powernowd/powernowd-0.90.ebuild,v 1.1 2004/04/05 23:50:27 vapier Exp $
+
+EV=hun6
+DESCRIPTION="Daemon to control the speed and voltage of CPUs"
+HOMEPAGE="http://www.deater.net/john/powernowd.html http://n-dimensional.de/projects/cpufreq/"
+SRC_URI="http://n-dimensional.de/projects/cpufreq/${P}${EV}.tar.gz"
+#http://www.deater.net/john/${P}.tar.gz
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+S=${WORKDIR}/${P}${EV}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i "s:-O2:${CFLAGS}:" Makefile
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ dosbin powernowd || die
+ doman debian/powernowd.1
+ dodoc README
+
+ insinto /etc/conf.d
+ newins ${FILESDIR}/powernowd.confd powernowd
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/powernowd.rc powernowd
+}