summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Heim <heim@gentoo.org>2003-05-08 19:49:30 +0000
committerTodd Heim <heim@gentoo.org>2003-05-08 19:49:30 +0000
commit3cfee3f07d49b0f9ef9ddbfc342e17323f8963e8 (patch)
tree4ed87af3623e376912b55b66a20867137c6a29f2 /sys-apps
parentclarify that we need glib v2, since v1 is a separate slot (diff)
downloadgentoo-2-3cfee3f07d49b0f9ef9ddbfc342e17323f8963e8.tar.gz
gentoo-2-3cfee3f07d49b0f9ef9ddbfc342e17323f8963e8.tar.bz2
gentoo-2-3cfee3f07d49b0f9ef9ddbfc342e17323f8963e8.zip
version bump; -!ppc archs
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/pbbuttonsd/ChangeLog9
-rw-r--r--sys-apps/pbbuttonsd/files/digest-pbbuttonsd-0.5.3a1
-rw-r--r--sys-apps/pbbuttonsd/pbbuttonsd-0.5.3a.ebuild46
3 files changed, 54 insertions, 2 deletions
diff --git a/sys-apps/pbbuttonsd/ChangeLog b/sys-apps/pbbuttonsd/ChangeLog
index 51430c213787..647591040825 100644
--- a/sys-apps/pbbuttonsd/ChangeLog
+++ b/sys-apps/pbbuttonsd/ChangeLog
@@ -1,8 +1,11 @@
# ChangeLog for sys-apps/pbbuttonsd
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/ChangeLog,v 1.11 2003/03/15 03:25:21 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/ChangeLog,v 1.12 2003/05/08 19:49:30 heim Exp $
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+*pbbuttonsd-0.5.3a (08 May 2003)
+
+ 08 May 2003; Todd Heim <heim@gentoo.org> pbbuttonsd-0.5.3a.ebuild:
+ version bumped, removed keywords for !ppc archs
*pbbuttonsd-0.5.2-r1 (17 Dec 2002)
@@ -34,6 +37,8 @@
24 Feb 2003; Nicholas Wourms <dragon@gentoo.org> pbbuttonsd-0.4.10a.ebuild :
This is definitely not for mips.
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
28 Jul 2002; Calum Selkirk <cselkirk@gentoo.org> pbbuttonsd-0.4.10a.ebuild :
New ebuild due to bugfixes upstream.
diff --git a/sys-apps/pbbuttonsd/files/digest-pbbuttonsd-0.5.3a b/sys-apps/pbbuttonsd/files/digest-pbbuttonsd-0.5.3a
new file mode 100644
index 000000000000..f57f9ec16724
--- /dev/null
+++ b/sys-apps/pbbuttonsd/files/digest-pbbuttonsd-0.5.3a
@@ -0,0 +1 @@
+MD5 a86aadbf36ed63053c347c00be36dead pbbuttonsd-0.5.3a.tar.gz 198259
diff --git a/sys-apps/pbbuttonsd/pbbuttonsd-0.5.3a.ebuild b/sys-apps/pbbuttonsd/pbbuttonsd-0.5.3a.ebuild
new file mode 100644
index 000000000000..31cb553668e8
--- /dev/null
+++ b/sys-apps/pbbuttonsd/pbbuttonsd-0.5.3a.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pbbuttonsd/pbbuttonsd-0.5.3a.ebuild,v 1.1 2003/05/08 19:49:30 heim Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="PBButtons is a program to map special Powerbook/iBook keys in Linux"
+SRC_URI="http://www.cymes.de/members/joker/projects/pbbuttons/tar/${P}.tar.gz"
+HOMEPAGE="http://www.cymes.de/members/joker/projects/pbbuttons/pbbuttons.html"
+KEYWORDS="ppc -x86 -sparc -mips"
+DEPEND="virtual/glibc"
+RDEPEND=""
+SLOT=0
+LICENSE="GPL-2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ einfo "Patching in fix to enable replace_pmud support"
+ patch -p0 < ${FILESDIR}/pbbuttons-0.5.2-replace_pmud.patch || die "Can't apply patch"
+
+}
+
+src_compile() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc || die "sorry, pbbuttons configure failed"
+ make || die "sorry, failed to compile pbbuttons"
+}
+
+src_install() {
+
+ dodir /etc/power
+ make sysconfdir=${D}/etc DESTDIR=${D} install || die "failed to install"
+ exeinto /etc/init.d ; newexe ${FILESDIR}/pbbuttonsd.rc5 pbbuttonsd
+ dodoc README COPYING
+
+}
+
+src_postinstall(){
+ einfo "This version of pbbuttonsd can replace PMUD functionality."
+ einfo "If you want PMUD installed and running, you should set"
+ einfo "replace_pmud=no in /etc/pbbuttonsd.conf. Otherwise you can"
+ einfo "try setting replace_pmud=yes in /etc/pbbuttonsd.conf and"
+ einfo "disabling PMUD"
+}