/[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.1 - (hide annotations) (download)
Mon Oct 1 10:57:44 2007 UTC (10 years ago) by uberlord
Branch: MAIN
Remove bashisms from init script, #194362 thanks to Peter Alfredsen
(Portage version: 2.1.3.11, RepoMan options: --force)

1 uberlord 1.1 # Copyright 1999-2007 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.ebuild,v 1.3 2006/06/24 05:29:04 vapier 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 "If you met those problems, you should not use athcool. Please use"
37     ewarn "athcool AT YOUR OWN RISK!"
38     }

  ViewVC Help
Powered by ViewVC 1.1.20