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

Contents of /sys-power/athcool/athcool-0.3.12.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Dec 16 13:52:58 2012 UTC (21 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
Stable for x86, wrt bug #441538

(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2012 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.12.ebuild,v 1.1 2011/06/15 05:39:03 jer Exp $
4
5 EAPI="3"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="small utility to toggle Powersaving mode for AMD Athlon/Duron processors"
10 HOMEPAGE="http://members.jcom.home.ne.jp/jacobi/linux/softwares.html#athcool"
11 SRC_URI="http://members.jcom.home.ne.jp/jacobi/linux/files/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="-* x86"
16 IUSE=""
17
18 DEPEND="sys-apps/pciutils"
19 RDEPEND=""
20
21 pkg_setup() {
22 tc-export CC
23 }
24
25 src_prepare() {
26 epatch "${FILESDIR}"/${PN}-0.3.11-build.patch
27 }
28
29 src_install() {
30 emake install DESTDIR="${D}" || die
31 doinitd "${FILESDIR}"/athcool
32 dodoc README ChangeLog
33 }
34
35 pkg_postinst() {
36 ewarn "WARNING: Depending on your motherboard and/or hardware components,"
37 ewarn "enabling powersaving mode may cause:"
38 ewarn " * noisy or distorted sound playback"
39 ewarn " * a slowdown in harddisk performance"
40 ewarn " * system locks or unpredictable behavior"
41 ewarn " * file system corruption"
42 ewarn "If you met those problems, you should not use athcool. Please use"
43 ewarn "athcool AT YOUR OWN RISK!"
44 }

  ViewVC Help
Powered by ViewVC 1.1.20