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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Mar 16 05:04:20 2004 UTC (15 years, 7 months ago) by warpzero
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +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.9.ebuild,v 1.1 2004/03/07 15:32:50 pylon 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 RDEPEND=""
16
17 src_compile() {
18 econf || die
19 make || die "compile failed"
20 }
21
22 src_install() {
23 local mydir=/var/lib
24 dodir /etc/power
25 make \
26 sysconfdir=${D}/etc \
27 localstatedir=${D}/${mydir} \
28 DESTDIR=${D} \
29 install \
30 || die "failed to install"
31 exeinto /etc/init.d
32 newexe ${FILESDIR}/pbbuttonsd.rc6 pbbuttonsd
33 dodoc README COPYING
34 #fix the symlink
35 rm ${D}/etc/pbbuttonsd.conf
36 # mv ${D}/var/lib/pbbuttons/pbbuttonsd.conf ${D}/etc/pbbuttonsd.conf
37 # dosym /etc/pbbuttonsd.conf /var/lib/pbbuttons/pbbuttonsd.conf
38 dosym ${mydir}/pbbuttons/pbbuttonsd.conf /etc/pbbuttonsd.conf
39 dodir /etc/env.d
40 echo "CONFIG_PROTECT=${mydir}/pbbuttonsd" > ${D}/etc/env.d/10pbbuttonsd
41 }
42
43 pkg_postinst(){
44 einfo "This version of pbbuttonsd can replace PMUD functionality."
45 einfo "If you want PMUD installed and running, you should set"
46 einfo "replace_pmud=no in /etc/pbbuttonsd.conf. Otherwise you can"
47 einfo "try setting replace_pmud=yes in /etc/pbbuttonsd.conf and"
48 einfo "disabling PMUD"
49 }

  ViewVC Help
Powered by ViewVC 1.1.20