diff options
author | 2004-01-27 03:32:40 +0000 | |
---|---|---|
committer | 2004-01-27 03:32:40 +0000 | |
commit | 91cc4f9fafec1aa2164cb245abcdcb343398bf07 (patch) | |
tree | 074f454f20285bab86ada65b9419a81fcbe7478c /sys-apps/cpufreqd/cpufreqd-1.1.ebuild | |
parent | initial ebuild (diff) | |
download | gentoo-2-91cc4f9fafec1aa2164cb245abcdcb343398bf07.tar.gz gentoo-2-91cc4f9fafec1aa2164cb245abcdcb343398bf07.tar.bz2 gentoo-2-91cc4f9fafec1aa2164cb245abcdcb343398bf07.zip |
ver bump #39483
Diffstat (limited to 'sys-apps/cpufreqd/cpufreqd-1.1.ebuild')
-rw-r--r-- | sys-apps/cpufreqd/cpufreqd-1.1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sys-apps/cpufreqd/cpufreqd-1.1.ebuild b/sys-apps/cpufreqd/cpufreqd-1.1.ebuild new file mode 100644 index 000000000000..d5a4f290ba93 --- /dev/null +++ b/sys-apps/cpufreqd/cpufreqd-1.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/cpufreqd-1.1.ebuild,v 1.1 2004/01/27 03:32:40 vapier Exp $ + +inherit eutils + +S=${WORKDIR}/${P/_/-}.orig +DESCRIPTION="Daemon to adjust CPU speed for power saving" +HOMEPAGE="http://sourceforge.net/projects/cpufreqd/" +SRC_URI="mirror://sourceforge/${PN}/${P/-/_}.0.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* x86 ppc" + +src_unpack() { + unpack ${A} + cd ${S} + #correct the init-script + sed -i -e s:/bin/cpufreqd:/usr/sbin/cpufreqd: ${S}/scripts/gentoo/cpufreqd +} + +src_install() { + make DESTDIR=${D} install || die + dodoc README Authors TODO + + exeinto /etc/init.d + newexe ${S}/scripts/gentoo/cpufreqd cpufreqd +} + +pkg_postinst() { + echo + einfo "A default config file has been copied to /etc/cpufreqd.conf" + echo + einfo "CPUFreqd does not support using percentage frequencies on" + einfo "2.6 kernels where sysfs is used instead - please manually" + einfo "edit the config file to use an absolute value instead, if" + einfo "you are using a 2.6 series kernel." + echo +} |