diff options
author | Pieter van den Abeele <pvdabeel@gentoo.org> | 2002-04-29 21:33:03 +0000 |
---|---|---|
committer | Pieter van den Abeele <pvdabeel@gentoo.org> | 2002-04-29 21:33:03 +0000 |
commit | 3c639d52f2f87f8d1385b98ff59d5da57287d937 (patch) | |
tree | dbf211134d1e73bfdf0d4043c01b06da4eb66a0a /sys-apps | |
parent | Python related LICENSE stuff. (diff) | |
download | gentoo-2-3c639d52f2f87f8d1385b98ff59d5da57287d937.tar.gz gentoo-2-3c639d52f2f87f8d1385b98ff59d5da57287d937.tar.bz2 gentoo-2-3c639d52f2f87f8d1385b98ff59d5da57287d937.zip |
Bug 2238 - new version
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/pmud/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/pmud/files/digest-pmud-0.10.1-r1 | 1 | ||||
-rw-r--r-- | sys-apps/pmud/files/pmud-makefile-x-gentoo.diff | 21 | ||||
-rw-r--r-- | sys-apps/pmud/pmud-0.10.1-r1.ebuild | 43 |
4 files changed, 71 insertions, 1 deletions
diff --git a/sys-apps/pmud/ChangeLog b/sys-apps/pmud/ChangeLog index addb7d2369b7..efab20e24a02 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.1 2002/04/27 10:34:28 pvdabeel Exp $ +# $Id: ChangeLog,v 1.2 2002/04/29 21:33:03 pvdabeel Exp $ + +*pmud-0.10-r1 <pvdabeel@gentoo.org> ChangeLog: + + Mon Apr 29 23:15:43 2002 CEST; pvdabeel <pvdabeel@gentoo.org> + Bug #2238: added pmud-makefile-x-gentoo.diff, new version *pmud-0.10.1 <kain@kain.org> ChangeLog: diff --git a/sys-apps/pmud/files/digest-pmud-0.10.1-r1 b/sys-apps/pmud/files/digest-pmud-0.10.1-r1 new file mode 100644 index 000000000000..777c71bda40a --- /dev/null +++ b/sys-apps/pmud/files/digest-pmud-0.10.1-r1 @@ -0,0 +1 @@ +MD5 1bdc546199cd7e745c2cf7f560a52198 pmud-0.10.1.tar.gz 68417 diff --git a/sys-apps/pmud/files/pmud-makefile-x-gentoo.diff b/sys-apps/pmud/files/pmud-makefile-x-gentoo.diff new file mode 100644 index 000000000000..f46ddc3243c3 --- /dev/null +++ b/sys-apps/pmud/files/pmud-makefile-x-gentoo.diff @@ -0,0 +1,21 @@ +--- pmud-0.10.1/Makefile~ Mon Apr 29 12:31:01 2002 ++++ pmud-0.10.1/Makefile Mon Apr 29 12:56:04 2002 +@@ -39,7 +39,8 @@ + $(CC) $(CFLAGS) -o fblevel fblevel.c + + xmouse: xmouse.c +- $(CC) $(CLAGS) -o xmouse xmouse.c -L/usr/X11R6/lib -lX11 ++ (test -e /usr/X11R6/include/X11/Xlib.hh && \ ++ $(CC) $(CLAGS) -o xmouse xmouse.c -L/usr/X11R6/lib -lX11; true) + + tcp.o: tcp.c tcp.h + $(CC) $(CFLAGS) -c tcp.c +@@ -49,7 +50,7 @@ + install -c snooze /sbin + install -c wakebay /sbin + install -c fblevel /sbin +- install -c xmouse /usr/X11R6/bin ++ (test -e xmouse && install -c xmouse /usr/X11R6/bin; true) + install -c Batmon /usr/bin + install -c -D pwrctl /etc/power/pwrctl + cp pmud.rc /etc/rc.d/init.d/pmud diff --git a/sys-apps/pmud/pmud-0.10.1-r1.ebuild b/sys-apps/pmud/pmud-0.10.1-r1.ebuild new file mode 100644 index 000000000000..99d579378c2c --- /dev/null +++ b/sys-apps/pmud/pmud-0.10.1-r1.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-r1.ebuild,v 1.1 2002/04/29 21:33:03 pvdabeel 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? (x11-base/xfree)" +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 +} |