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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Jan 8 21:53:33 2007 UTC (13 years, 6 months ago) by josejx
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +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-r3.ebuild,v 1.4 2005/01/01 14:47:46 eradicator Exp $
4
5 inherit eutils
6
7 DESCRIPTION="PowerMac power management utilities"
8 HOMEPAGE="http://penguinppc.org/"
9 SRC_URI="http://linuxppc.jvc.nl/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="-* ~ppc"
14 IUSE="X"
15
16 DEPEND="virtual/os-headers
17 X? ( virtual/x11 )"
18 RDEPEND="sys-apps/util-linux"
19
20 S=${WORKDIR}/${PN}-0.10
21
22 src_unpack() {
23 unpack ${A}
24 cd ${S}
25 epatch ${FILESDIR}/${PV}-deb-fcntl.patch
26 epatch ${FILESDIR}/pmud-file-locations.patch
27 use X || epatch ${FILESDIR}/pmud-makefile-x-gentoo.diff
28 }
29
30 src_compile() {
31 emake CFLAGS="${CFLAGS}" || die
32 }
33
34 src_install() {
35 doman pmud.8 snooze.8 fblevel.8
36 into /
37 dosbin pmud wakebay snooze fblevel || die "dosbin failed"
38 exeinto /etc/power
39 doexe ${FILESDIR}/pwrctl{,-local}
40 exeinto /etc/init.d
41 newexe ${FILESDIR}/pmud.start pmud
42 insinto /etc
43 doins ${FILESDIR}/power.conf
44 if use X ; then
45 doman batmon.8 xmouse.8
46 into /usr
47 dobin Batmon || die "Batmon failed"
48 exeinto /usr/X11R6/bin
49 doexe xmouse || die "xmouse failed"
50 fi
51 }

  ViewVC Help
Powered by ViewVC 1.1.20