/[gentoo-x86]/app-laptop/pmud/pmud-0.10.1-r2.ebuild
Gentoo

Contents of /app-laptop/pmud/pmud-0.10.1-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Jan 8 21:53:33 2007 UTC (13 years, 7 months ago) by josejx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Removed pmud for bug #153197.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-laptop/pmud/pmud-0.10.1-r2.ebuild,v 1.5 2005/01/01 14:47:46 eradicator Exp $
4
5 IUSE="X"
6
7
8 DESCRIPTION="PowerMac power management utilities"
9 SRC_URI="http://linuxppc.jvc.nl/${P}.tar.gz"
10 HOMEPAGE="http://penguinppc.org/"
11 KEYWORDS="ppc -x86 -amd64 -alpha -hppa -mips -sparc"
12 SLOT="0"
13 LICENSE="GPL-2"
14 DEPEND="virtual/os-headers
15 X? ( virtual/x11 )"
16 RDEPEND="sys-apps/util-linux"
17
18 src_unpack() {
19 cd ${WORKDIR}
20 unpack ${P}.tar.gz
21 mv pmud-0.10 ${P}
22 cd ${S}
23 patch -p1 < ${FILESDIR}/pmud-file-locations.patch
24 use X || patch -p1 <${FILESDIR}/pmud-makefile-x-gentoo.diff
25 }
26
27 src_compile() {
28 emake CFLAGS="${CFLAGS}" || die
29 }
30
31 src_install() {
32 doman pmud.8 snooze.8 fblevel.8
33 exeinto /sbin
34 doexe pmud wakebay snooze fblevel
35 exeinto /etc/power
36 doexe ${FILESDIR}/pwrctl{,-local}
37 exeinto /etc/init.d
38 newexe ${FILESDIR}/pmud.start pmud
39 insinto /etc
40 doins ${FILESDIR}/power.conf
41 use X && ( \
42 doman batmon.8 xmouse.8
43 exeinto /usr/bin
44 doexe Batmon
45 exeinto /usr/X11R6/bin
46 doexe xmouse )
47 }

  ViewVC Help
Powered by ViewVC 1.1.20