summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/pmud')
-rw-r--r--sys-apps/pmud/ChangeLog7
-rw-r--r--sys-apps/pmud/files/digest-pmud-0.10.1-r21
-rw-r--r--sys-apps/pmud/pmud-0.10.1-r2.ebuild43
3 files changed, 50 insertions, 1 deletions
diff --git a/sys-apps/pmud/ChangeLog b/sys-apps/pmud/ChangeLog
index efab20e24a02..f7a8749ff11d 100644
--- a/sys-apps/pmud/ChangeLog
+++ b/sys-apps/pmud/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/pmud
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Id: ChangeLog,v 1.2 2002/04/29 21:33:03 pvdabeel Exp $
+# $Id: ChangeLog,v 1.3 2002/04/30 01:29:43 kain Exp $
+
+*pmud-0.10-r2 <kain@kain.org> ChangeLog:
+
+ Mon Apr 29 10:12 2002 CST; kain <kain@kain.org>
+ Fixed the format of the X dependency line in pmud-0.10.1-r1.ebuild
*pmud-0.10-r1 <pvdabeel@gentoo.org> ChangeLog:
diff --git a/sys-apps/pmud/files/digest-pmud-0.10.1-r2 b/sys-apps/pmud/files/digest-pmud-0.10.1-r2
new file mode 100644
index 000000000000..777c71bda40a
--- /dev/null
+++ b/sys-apps/pmud/files/digest-pmud-0.10.1-r2
@@ -0,0 +1 @@
+MD5 1bdc546199cd7e745c2cf7f560a52198 pmud-0.10.1.tar.gz 68417
diff --git a/sys-apps/pmud/pmud-0.10.1-r2.ebuild b/sys-apps/pmud/pmud-0.10.1-r2.ebuild
new file mode 100644
index 000000000000..dcc377d8eae5
--- /dev/null
+++ b/sys-apps/pmud/pmud-0.10.1-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Kain <kain@kain.org>
+# $Id: pmud-0.10.1-r2.ebuild,v 1.1 2002/04/30 01:29:43 kain Exp $
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="PowerMac power management utilities"
+SRC_URI="http://linuxppc.jvc.nl/${P}.tar.gz"
+HOMEPAGE="http://penguinppc.org/"
+DEPEND="sys-kernel/linux-headers
+ X? ( virtual/x11 )"
+RDEPEND="sys-apps/util-linux"
+
+src_unpack() {
+ cd ${WORKDIR}
+ unpack ${P}.tar.gz
+ mv pmud-0.10 ${P}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/pmud-file-locations.patch
+ use X || patch -p1 <${FILESDIR}/pmud-makefile-x-gentoo.diff
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" || die
+}
+
+src_install () {
+ doman pmud.8 snooze.8 fblevel.8 batmon.8 xmouse.8
+ exeinto /sbin
+ doexe pmud wakebay snooze fblevel
+ exeinto /usr/bin
+ doexe Batmon
+ exeinto /usr/X11R6/bin
+ doexe xmouse
+ exeinto /etc/power
+ doexe ${FILESDIR}/pwrctl{,-local}
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/pmud.start pmud
+ insinto /etc
+ doins ${FILESDIR}/power.conf
+}