/[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.4 - (hide annotations) (download)
Wed Jun 15 05:39:03 2011 UTC (6 years, 4 months ago) by jer
Branch: MAIN
Changes since 1.3: +3 -2 lines
Version bump. Set RDEPEND.

(Portage version: 2.2.0_alpha41/cvs/Linux i686)

1 jer 1.4 # Copyright 1999-2011 Gentoo Foundation
2 uberlord 1.1 # Distributed under the terms of the GNU General Public License v2
3 jer 1.4 # $Header: /var/cvsroot/gentoo-x86/sys-power/athcool/athcool-0.3.11-r1.ebuild,v 1.3 2008/11/27 21:24:23 vapier Exp $
4 uberlord 1.1
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 jer 1.4 RDEPEND=""
18 uberlord 1.1
19     src_unpack() {
20     unpack ${A}
21     cd "${S}"
22     epatch "${FILESDIR}"/${P}-build.patch
23     }
24    
25     src_install() {
26     emake install DESTDIR="${D}" || die
27     doinitd "${FILESDIR}"/athcool
28     dodoc README ChangeLog
29     }
30    
31     pkg_postinst() {
32     ewarn "WARNING: Depending on your motherboard and/or hardware components,"
33     ewarn "enabling powersaving mode may cause:"
34     ewarn " * noisy or distorted sound playback"
35     ewarn " * a slowdown in harddisk performance"
36 vapier 1.3 ewarn " * system locks or unpredictable behavior"
37 vapier 1.2 ewarn " * file system corruption"
38 uberlord 1.1 ewarn "If you met those problems, you should not use athcool. Please use"
39     ewarn "athcool AT YOUR OWN RISK!"
40     }

  ViewVC Help
Powered by ViewVC 1.1.20