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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jun 15 05:39:03 2011 UTC (3 years, 2 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -2 lines
Version bump. Set RDEPEND.

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

1 # Copyright 1999-2011 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-r2.ebuild,v 1.1 2010/05/25 15:45:13 jer Exp $
4
5 inherit eutils toolchain-funcs
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 RDEPEND=""
18
19 pkg_setup() {
20 tc-export CC
21 }
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 epatch "${FILESDIR}"/${P}-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