diff options
author | Ali Polatel <hawking@gentoo.org> | 2008-05-29 18:11:15 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2008-05-29 18:11:15 +0000 |
commit | af068a95e377a4a91c17ec451d06886a3c535225 (patch) | |
tree | b3616312cca126386fd1fa6a89325a12eaaab2e1 /sys-power | |
parent | python_mod_optimize is ROOT aware. Fixed python_mod_cleanup. (diff) | |
download | gentoo-2-af068a95e377a4a91c17ec451d06886a3c535225.tar.gz gentoo-2-af068a95e377a4a91c17ec451d06886a3c535225.tar.bz2 gentoo-2-af068a95e377a4a91c17ec451d06886a3c535225.zip |
python_mod_{cleanup,optimize} are ROOT aware. Quoting.
(Portage version: 2.1.5.2)
Diffstat (limited to 'sys-power')
-rw-r--r-- | sys-power/cpuspeedy/ChangeLog | 7 | ||||
-rw-r--r-- | sys-power/cpuspeedy/cpuspeedy-0.4.1.ebuild | 10 |
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} } |