diff options
Diffstat (limited to 'sys-apps/cpufreqd/cpufreqd-1.0.1-r1.ebuild')
-rw-r--r-- | sys-apps/cpufreqd/cpufreqd-1.0.1-r1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-apps/cpufreqd/cpufreqd-1.0.1-r1.ebuild b/sys-apps/cpufreqd/cpufreqd-1.0.1-r1.ebuild new file mode 100644 index 000000000000..850e3c672175 --- /dev/null +++ b/sys-apps/cpufreqd/cpufreqd-1.0.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/cpufreqd-1.0.1-r1.ebuild,v 1.1 2003/10/06 22:26:48 tantive Exp $ + +DESCRIPTION="Daemon to adjust cpu speed for kernel using the cpufreq patch." +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://sourceforge.net/projects/cpufreqd/" +KEYWORDS="x86" +LICENSE="GPL-1" +SLOT="0" + +src_compile() { + epatch ${FILESDIR}/sysfs.diff || die + ./configure \ + --host=${CHOST} \ + --prefix=/ \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --sysconfdir=/etc + make || die "compile of cpufreqd failed" +} + +src_install() { + make DESTDIR=${D} install || die + dodoc README Authors TODO + + exeinto /etc/init.d + newexe ${S}/scripts/gentoo/cpufreqd cpufreqd +} +pkg_postinst() { + einfo "A default config file is copied to /etc/cpufreqd.conf" +} |