diff options
author | Piotr Szymaniak <lazy_bum@o2.pl> | 2010-01-29 19:44:36 +0000 |
---|---|---|
committer | Piotr Szymaniak <lazy_bum@o2.pl> | 2010-01-29 19:44:36 +0000 |
commit | 44a2cd9a7b2f4458c4c8a9fcd858cd15be76d93a (patch) | |
tree | 7690e994998fc58b6cdfcb806f3c6e09c741ad17 /sys-power/powerthend/powerthend-1.1.1.ebuild | |
parent | sys-apps/pcp: Fixed SRC_URI, this needs a bump. (diff) | |
download | sunrise-44a2cd9a7b2f4458c4c8a9fcd858cd15be76d93a.tar.gz sunrise-44a2cd9a7b2f4458c4c8a9fcd858cd15be76d93a.tar.bz2 sunrise-44a2cd9a7b2f4458c4c8a9fcd858cd15be76d93a.zip |
sys-power/powerthend: Added die to dodoc, added src_prepare and EAPI declaration.
svn path=/sunrise/; revision=9933
Diffstat (limited to 'sys-power/powerthend/powerthend-1.1.1.ebuild')
-rw-r--r-- | sys-power/powerthend/powerthend-1.1.1.ebuild | 10 |
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 |