diff options
Diffstat (limited to 'sys-power/cpudyn/cpudyn-0.99.0.ebuild')
-rw-r--r-- | sys-power/cpudyn/cpudyn-0.99.0.ebuild | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/sys-power/cpudyn/cpudyn-0.99.0.ebuild b/sys-power/cpudyn/cpudyn-0.99.0.ebuild index eecad06eebb5..bab270e60847 100644 --- a/sys-power/cpudyn/cpudyn-0.99.0.ebuild +++ b/sys-power/cpudyn/cpudyn-0.99.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/cpudyn/cpudyn-0.99.0.ebuild,v 1.1 2005/03/14 22:37:27 ciaranm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/cpudyn/cpudyn-0.99.0.ebuild,v 1.2 2007/04/28 17:19:15 tove Exp $ inherit eutils DESCRIPTION="A daemon to control laptop power consumption via cpufreq and disk standby" -HOMEPAGE="http://mnm.uib.es/~gallir/${PN}/" +HOMEPAGE="http://mnm.uib.es/~gallir/cpudyn/" SRC_URI="http://mnm.uib.es/~gallir/${PN}/download/${P}.tgz" LICENSE="GPL-2" SLOT="0" @@ -15,11 +15,11 @@ S=${WORKDIR}/${PN} src_unpack() { unpack ${A} - cd ${S} + cd "${S}" mkdir gentoo cp debian/cpudyn.conf gentoo - cp ${FILESDIR}/cpudyn.init gentoo/cpudyn.init - epatch ${FILESDIR}/${PN}-0.99.0-init_conf_updates.patch + cp "${FILESDIR}"/cpudyn.init gentoo/cpudyn.init + epatch "${FILESDIR}"/${PN}-0.99.0-init_conf_updates.patch } src_compile() { @@ -28,10 +28,8 @@ src_compile() { src_install() { into / - exeinto /etc/init.d - newexe gentoo/cpudyn.init cpudyn - insinto /etc/conf.d - newins gentoo/cpudyn.conf cpudyn + newinitd gentoo/cpudyn.init cpudyn + newconfd gentoo/cpudyn.conf cpudyn into /usr doman cpudynd.8 |