summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-power/cpuspeedy/ChangeLog7
-rw-r--r--sys-power/cpuspeedy/cpuspeedy-0.4.1.ebuild10
2 files changed, 10 insertions, 7 deletions
diff --git a/sys-power/cpuspeedy/ChangeLog b/sys-power/cpuspeedy/ChangeLog
index 1b1b31d99001..a340db921eef 100644
--- a/sys-power/cpuspeedy/ChangeLog
+++ b/sys-power/cpuspeedy/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-power/cpuspeedy
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpuspeedy/ChangeLog,v 1.3 2007/02/01 11:31:14 dragonheart Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/cpuspeedy/ChangeLog,v 1.4 2008/05/29 18:11:15 hawking Exp $
+
+ 29 May 2008; Ali Polatel <hawking@gentoo.org> cpuspeedy-0.4.1.ebuild:
+ python_mod_{cleanup,optimize} are ROOT aware. Quoting.
01 Feb 2007; Daniel Black <dragonheart@gentoo.org> cpuspeedy-0.4.1.ebuild:
amd64 lib path compatible thanks to Jakub - bug #164809
diff --git a/sys-power/cpuspeedy/cpuspeedy-0.4.1.ebuild b/sys-power/cpuspeedy/cpuspeedy-0.4.1.ebuild
index 39bbb4857860..688884034453 100644
--- a/sys-power/cpuspeedy/cpuspeedy-0.4.1.ebuild
+++ b/sys-power/cpuspeedy/cpuspeedy-0.4.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpuspeedy/cpuspeedy-0.4.1.ebuild,v 1.2 2007/02/01 11:31:14 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/cpuspeedy/cpuspeedy-0.4.1.ebuild,v 1.3 2008/05/29 18:11:15 hawking Exp $
inherit python multilib
@@ -19,16 +19,16 @@ src_compile() {
src_install() {
emake install PREFIX="${D}"/usr || die "make install failed"
- sed -i -e "s:${D}::" ${D}/usr/sbin/cpuspeedy
+ sed -i -e "s:${D}::" "${D}"/usr/sbin/cpuspeedy
mv "${D}"/usr/share/doc/cpuspeedy "${D}"/usr/share/doc/${PF}
dodir /usr/share
mv "${D}"/usr/man "${D}"/usr/share
}
pkg_postinst() {
- python_mod_optimize "${ROOT}"usr/$(get_libdir)/${PN}
+ python_mod_optimize /usr/$(get_libdir)/${PN}
}
pkg_postrm() {
- python_mod_cleanup "${ROOT}"usr/$(get_libdir)/${PN}
+ python_mod_cleanup /usr/$(get_libdir)/${PN}
}