summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2007-02-01 11:31:14 +0000
committerDaniel Black <dragonheart@gentoo.org>2007-02-01 11:31:14 +0000
commit4759aea75e44eed0510e261f03f17a03493da704 (patch)
tree0355256f68310fe792b5725999645ea7923645e8 /sys-power/cpuspeedy
parentUpdate to latest version. (diff)
downloadgentoo-2-4759aea75e44eed0510e261f03f17a03493da704.tar.gz
gentoo-2-4759aea75e44eed0510e261f03f17a03493da704.tar.bz2
gentoo-2-4759aea75e44eed0510e261f03f17a03493da704.zip
amd64 lib path compatible thanks to Jakub - bug #164809. other qa faults thanks to me
(Portage version: 2.1.2-r5)
Diffstat (limited to 'sys-power/cpuspeedy')
-rw-r--r--sys-power/cpuspeedy/ChangeLog7
-rw-r--r--sys-power/cpuspeedy/cpuspeedy-0.4.1.ebuild21
-rw-r--r--sys-power/cpuspeedy/files/digest-cpuspeedy-0.4.12
3 files changed, 17 insertions, 13 deletions
diff --git a/sys-power/cpuspeedy/ChangeLog b/sys-power/cpuspeedy/ChangeLog
index 5850dc269184..1b1b31d99001 100644
--- a/sys-power/cpuspeedy/ChangeLog
+++ b/sys-power/cpuspeedy/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-power/cpuspeedy
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/cpuspeedy/ChangeLog,v 1.2 2005/03/16 19:15:31 swegener Exp $
+# 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 $
+
+ 01 Feb 2007; Daniel Black <dragonheart@gentoo.org> cpuspeedy-0.4.1.ebuild:
+ amd64 lib path compatible thanks to Jakub - bug #164809
*cpuspeedy-0.4.1 (15 Mar 2005)
diff --git a/sys-power/cpuspeedy/cpuspeedy-0.4.1.ebuild b/sys-power/cpuspeedy/cpuspeedy-0.4.1.ebuild
index cfe7f9702c93..39bbb4857860 100644
--- a/sys-power/cpuspeedy/cpuspeedy-0.4.1.ebuild
+++ b/sys-power/cpuspeedy/cpuspeedy-0.4.1.ebuild
@@ -1,18 +1,16 @@
-# 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/cpuspeedy/cpuspeedy-0.4.1.ebuild,v 1.1 2005/03/15 17:42:10 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/cpuspeedy/cpuspeedy-0.4.1.ebuild,v 1.2 2007/02/01 11:31:14 dragonheart Exp $
-inherit python
+inherit python multilib
DESCRIPTION="A simple and easy to use program to control the speed and the voltage of CPUs on the fly."
SRC_URI="mirror://sourceforge/cpuspeedy/${P}.tar.gz"
HOMEPAGE="http://cpuspeedy.sourceforge.net/"
-KEYWORDS="x86 ppc ~amd64"
+KEYWORDS="~amd64 ppc x86"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
-RESTRICT="nomirror"
-DEPEND=">=sys-apps/sed-4"
RDEPEND="virtual/python"
src_compile() {
@@ -20,16 +18,17 @@ src_compile() {
}
src_install() {
- make install PREFIX=${D}/usr || die "make install failed"
+ emake install PREFIX="${D}"/usr || die "make install failed"
sed -i -e "s:${D}::" ${D}/usr/sbin/cpuspeedy
- mv ${D}/usr/share/doc/cpuspeedy ${D}/usr/share/doc/${PF}
+ 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 /usr/lib/cpuspeedy
+ python_mod_optimize "${ROOT}"usr/$(get_libdir)/${PN}
}
pkg_postrm() {
- python_mod_cleanup /usr/lib/cpuspeedy
+ python_mod_cleanup "${ROOT}"usr/$(get_libdir)/${PN}
}
-
diff --git a/sys-power/cpuspeedy/files/digest-cpuspeedy-0.4.1 b/sys-power/cpuspeedy/files/digest-cpuspeedy-0.4.1
index 32a69d65c0d4..8b1ec1145286 100644
--- a/sys-power/cpuspeedy/files/digest-cpuspeedy-0.4.1
+++ b/sys-power/cpuspeedy/files/digest-cpuspeedy-0.4.1
@@ -1 +1,3 @@
MD5 b02d9d72ec6b50fbd54392efea023556 cpuspeedy-0.4.1.tar.gz 17174
+RMD160 248e647905e6b8fe961e25548076d8ff016609a3 cpuspeedy-0.4.1.tar.gz 17174
+SHA256 5e9ff675b7895e2fa7186ec54c154dcdef7ca1153cf1fe5ef0df10fecb5846b0 cpuspeedy-0.4.1.tar.gz 17174