summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power/powerthend/powerthend-1.1.1.ebuild')
-rw-r--r--sys-power/powerthend/powerthend-1.1.1.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys-power/powerthend/powerthend-1.1.1.ebuild b/sys-power/powerthend/powerthend-1.1.1.ebuild
index 55b7284bf..96c8f857a 100644
--- a/sys-power/powerthend/powerthend-1.1.1.ebuild
+++ b/sys-power/powerthend/powerthend-1.1.1.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI=2
+
DESCRIPTION="Daemon to control the speed and voltage of CPUs"
HOMEPAGE="http://powerthend.scheissname.de/"
SRC_URI="http://dev.gentooexperimental.org/~tommy/distfiles/${P}.tar.gz"
@@ -11,9 +13,7 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
sed -i "s:-O2:${CFLAGS}:" Makefile
}
@@ -23,7 +23,7 @@ src_compile() {
src_install() {
dosbin powerthend || die "dosbin failed"
- dodoc README
+ dodoc README || die "dodoc failed"
newconfd "${FILESDIR}/powerthend.confd" powerthend
newinitd "${FILESDIR}/powerthend.rc" powerthend