/[gentoo-x86]/sys-apps/pbbuttonsd/pbbuttonsd-0.5.2-r1.ebuild
Gentoo

Contents of /sys-apps/pbbuttonsd/pbbuttonsd-0.5.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Tue Mar 16 05:04:20 2004 UTC (15 years, 8 months ago) by warpzero
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
DANGER WARNING WILL ROBINSON app-laptop moves for ppc REMOVING OLD PACKAGES !!!!

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/pbbuttonsd-0.5.2-r1.ebuild,v 1.8 2004/02/10 05:20:27 vapier Exp $
4
5 inherit eutils
6
7 S=${WORKDIR}/${P}
8 DESCRIPTION="PBButtons is a program to map special Powerbook/iBook keys in Linux"
9 SRC_URI="http://www.cymes.de/members/joker/projects/pbbuttons/tar/${P}.tar.gz"
10 HOMEPAGE="http://www.cymes.de/members/joker/projects/pbbuttons/pbbuttons.html"
11 KEYWORDS="ppc"
12 DEPEND="virtual/glibc"
13 RDEPEND=""
14 SLOT=0
15 LICENSE="GPL-2"
16
17 src_unpack() {
18 unpack ${A}
19 cd ${S}
20
21 einfo "Patching in fix to enable replace_pmud support"
22 epatch ${FILESDIR}/pbbuttons-0.5.2-replace_pmud.patch
23
24 }
25
26 src_compile() {
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc || die "sorry, pbbuttons configure failed"
30 make || die "sorry, failed to compile pbbuttons"
31 }
32
33 src_install() {
34
35 dodir /etc/power
36 make sysconfdir=${D}/etc DESTDIR=${D} install || die "failed to install"
37 exeinto /etc/init.d ; newexe ${FILESDIR}/pbbuttonsd.rc5 pbbuttonsd
38 dodoc README COPYING
39
40 }
41
42 src_postinstall(){
43 einfo "This version of pbbuttonsd can replace PMUD functionality."
44 einfo "If you want PMUD installed and running, you should set"
45 einfo "replace_pmud=no in /etc/pbbuttonsd.conf. Otherwise you can"
46 einfo "try setting replace_pmud=yes in /etc/pbbuttonsd.conf and"
47 einfo "disabling PMUD"
48 }

  ViewVC Help
Powered by ViewVC 1.1.20