/[gentoo-x86]/sys-power/athcool/athcool-0.3.11-r1.ebuild
Gentoo

Contents of /sys-power/athcool/athcool-0.3.11-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Nov 27 19:31:11 2008 UTC (8 years, 10 months ago) by vapier
Branch: MAIN
Changes since 1.1: +3 -2 lines
File system corruption (due to system instability) is also possible #248820 by Jorge Peixoto de Morais Neto.
(Portage version: 2.2_rc16/cvs/Linux 2.6.27.4 x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-power/athcool/athcool-0.3.11-r1.ebuild,v 1.1 2007/10/01 10:57:44 uberlord Exp $
4
5 inherit eutils
6
7 DESCRIPTION="small utility to toggle Powersaving mode for AMD Athlon/Duron processors"
8 HOMEPAGE="http://members.jcom.home.ne.jp/jacobi/linux/softwares.html#athcool"
9 SRC_URI="http://members.jcom.home.ne.jp/jacobi/linux/files/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="-* x86"
14 IUSE=""
15
16 DEPEND="sys-apps/pciutils"
17
18 src_unpack() {
19 unpack ${A}
20 cd "${S}"
21 epatch "${FILESDIR}"/${P}-build.patch
22 }
23
24 src_install() {
25 emake install DESTDIR="${D}" || die
26 doinitd "${FILESDIR}"/athcool
27 dodoc README ChangeLog
28 }
29
30 pkg_postinst() {
31 ewarn "WARNING: Depending on your motherboard and/or hardware components,"
32 ewarn "enabling powersaving mode may cause:"
33 ewarn " * noisy or distorted sound playback"
34 ewarn " * a slowdown in harddisk performance"
35 ewarn " * system locks or instability"
36 ewarn " * file system corruption"
37 ewarn "If you met those problems, you should not use athcool. Please use"
38 ewarn "athcool AT YOUR OWN RISK!"
39 }

  ViewVC Help
Powered by ViewVC 1.1.20