1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Daemon to control the speed and voltage of CPUs"
8 HOMEPAGE="http://powerthend.scheissname.de/"
9 SRC_URI="http://dev.gentooexperimental.org/~tommy/distfiles/${P}.tar.gz"
13 KEYWORDS="~amd64 ~ppc ~x86"
17 sed -i "s:-O2:${CFLAGS}:" Makefile
21 emake powerthend || die "emake failed"
25 dosbin powerthend || die "dosbin failed"
26 dodoc README || die "dodoc failed"
28 newconfd "${FILESDIR}/powerthend.confd" powerthend
29 newinitd "${FILESDIR}/powerthend.rc" powerthend