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

Contents of /sys-apps/pbbuttonsd/pbbuttonsd-0.5.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Feb 10 05:14:59 2004 UTC (15 years, 8 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +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.6.ebuild,v 1.2 2003/11/30 03:38:03 lu_zero 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 >=sys-apps/baselayout-1.8.6.12-r1"
15
16 RDEPEND=""
17
18 #src_unpack() {
19 # unpack ${A}
20 # cd ${S}
21 #}
22
23 src_compile() {
24 econf || die
25 make || die "compile failed"
26 }
27
28 src_install() {
29 dodir /etc/power
30 make sysconfdir=${D}/etc \
31 localstatedir=${D}/var/lib \
32 DESTDIR=${D} install || die "failed to install"
33 exeinto /etc/init.d
34 newexe ${FILESDIR}/pbbuttonsd.rc5 pbbuttonsd
35 dodoc README COPYING
36 #fix the symlink
37 rm ${D}/etc/pbbuttonsd.conf
38 mv ${D}/var/lib/pbbuttons/pbbuttonsd.conf ${D}/etc/pbbuttonsd.conf
39 dosym /etc/pbbuttonsd.conf /var/lib/pbbuttons/pbbuttonsd.conf
40 }
41
42 pkg_postinst(){
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