summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-03-14 22:06:09 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-03-14 22:06:09 +0000
commit148336268df7befcce28a69d7e42a6e1fd771971 (patch)
treeeabe53ca504129be614cbdd541e590daae74e1e2 /sys-power/powernowd/powernowd-0.90.ebuild
parentFixed bug #82628. Removed older versions to favor a better 1.5.9. Because o... (diff)
downloadgentoo-2-148336268df7befcce28a69d7e42a6e1fd771971.tar.gz
gentoo-2-148336268df7befcce28a69d7e42a6e1fd771971.tar.bz2
gentoo-2-148336268df7befcce28a69d7e42a6e1fd771971.zip
Moved from sys-apps/powernowd to sys-power/powernowd.
Diffstat (limited to 'sys-power/powernowd/powernowd-0.90.ebuild')
-rw-r--r--sys-power/powernowd/powernowd-0.90.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-power/powernowd/powernowd-0.90.ebuild b/sys-power/powernowd/powernowd-0.90.ebuild
new file mode 100644
index 000000000000..be500d7a7940
--- /dev/null
+++ b/sys-power/powernowd/powernowd-0.90.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powernowd/powernowd-0.90.ebuild,v 1.1 2005/03/14 22:06:09 ciaranm 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 ~amd64 ppc"
+IUSE=""
+
+S="${WORKDIR}/${P}${EV}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i "s:-O2:${CFLAGS}:" Makefile
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+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
+}