/[gentoo-x86]/sys-apps/pbbuttonsd/pbbuttonsd-0.5.3a.ebuild
Gentoo

Contents of /sys-apps/pbbuttonsd/pbbuttonsd-0.5.3a.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Feb 10 05:14:00 2004 UTC (15 years, 8 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
old

1 # Copyright 1999-2003 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.3a.ebuild,v 1.5 2003/08/17 21:38:32 vapier Exp $
4
5 DESCRIPTION="program to map special Powerbook/iBook keys in Linux"
6 HOMEPAGE="http://www.cymes.de/members/joker/projects/pbbuttons/pbbuttons.html"
7 SRC_URI="http://www.cymes.de/members/joker/projects/pbbuttons/tar/${P}.tar.gz"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="~ppc"
12
13 DEPEND="virtual/glibc"
14 RDEPEND=""
15
16 src_unpack() {
17 unpack ${A}
18 cd ${S}
19 epatch ${FILESDIR}/pbbuttons-0.5.2-replace_pmud.patch
20 }
21
22 src_compile() {
23 econf || die
24 make || die "compile failed"
25 }
26
27 src_install() {
28 dodir /etc/power
29 make sysconfdir=${D}/etc DESTDIR=${D} install || die "failed to install"
30 exeinto /etc/init.d ; newexe ${FILESDIR}/pbbuttonsd.rc5 pbbuttonsd
31 dodoc README COPYING
32 }
33
34 pkg_postinst(){
35 einfo "This version of pbbuttonsd can replace PMUD functionality."
36 einfo "If you want PMUD installed and running, you should set"
37 einfo "replace_pmud=no in /etc/pbbuttonsd.conf. Otherwise you can"
38 einfo "try setting replace_pmud=yes in /etc/pbbuttonsd.conf and"
39 einfo "disabling PMUD"
40 }

  ViewVC Help
Powered by ViewVC 1.1.20