diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-12-14 18:27:57 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-12-14 18:27:57 +0000 |
commit | 201379af9e9bcb44a4071c061b936d577bbbf2e6 (patch) | |
tree | 8ed1d1eca740abbdc28cbc99a5f7ddfebf06f617 /app-laptop/laptop-mode-tools | |
parent | ttmkfdir was moved from x11-misc to x11-apps. (diff) | |
download | historical-201379af9e9bcb44a4071c061b936d577bbbf2e6.tar.gz historical-201379af9e9bcb44a4071c061b936d577bbbf2e6.tar.bz2 historical-201379af9e9bcb44a4071c061b936d577bbbf2e6.zip |
Pruned old ebuilds.
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'app-laptop/laptop-mode-tools')
4 files changed, 5 insertions, 102 deletions
diff --git a/app-laptop/laptop-mode-tools/ChangeLog b/app-laptop/laptop-mode-tools/ChangeLog index 4745e45524ca..590bc4c23ed4 100644 --- a/app-laptop/laptop-mode-tools/ChangeLog +++ b/app-laptop/laptop-mode-tools/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-laptop/laptop-mode-tools # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.20 2005/11/29 21:32:35 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.21 2005/12/14 18:26:12 brix Exp $ + + 14 Dec 2005; Henrik Brix Andersen <brix@gentoo.org> + -files/laptop-mode-tools-1.10-init.d, -laptop-mode-tools-1.10.ebuild: + Pruned old ebuilds. 29 Nov 2005; Henrik Brix Andersen <brix@gentoo.org> laptop-mode-tools-1.11.ebuild: diff --git a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.10 b/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.10 deleted file mode 100644 index 5f8de2873de1..000000000000 --- a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.10 +++ /dev/null @@ -1 +0,0 @@ -MD5 cf67d837efe75dcf082a10df6897add5 laptop-mode-tools_1.10.tar.gz 40351 diff --git a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.10-init.d b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.10-init.d deleted file mode 100644 index 2a3826fb6693..000000000000 --- a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.10-init.d +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.10-init.d,v 1.1 2005/08/17 13:59:41 brix Exp $ - -checkconfig() { - if [ ! -f /proc/sys/vm/laptop_mode ]; then - eerror "Kernel does not support laptop_mode" - return 1 - fi -} - -start() { - checkconfig || return 1 - - ebegin "Starting laptop_mode" - touch /var/run/laptop-mode-enabled && /usr/sbin/laptop_mode auto &> /dev/null - eend $? -} - -stop() { - ebegin "Stopping laptop_mode" - /usr/sbin/laptop_mode stop &> /dev/null && rm -f /var/run/laptop-mode-enabled - eend $? -} diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.10.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.10.ebuild deleted file mode 100644 index e763835ee0c4..000000000000 --- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.10.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.10.ebuild,v 1.3 2005/10/21 15:50:58 brix Exp $ - -inherit linux-info - -MY_P=${PN}_${PV} - -DESCRIPTION="Linux kernel laptop_mode user-space utilities" -HOMEPAGE="http://www.xs4all.nl/~bsamwel/laptop_mode/tools/" -SRC_URI="http://www.xs4all.nl/~bsamwel/laptop_mode/tools/downloads/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc x86" - -IUSE="acpi apm" - -DEPEND="acpi? ( sys-power/acpid ) - apm? ( sys-apps/apmd )" - -pkg_setup() { - linux-info_pkg_setup - - if kernel_is 2 6 && kernel_is lt 2 6 6; then - eerror "${P} requires kernel version 2.6.6 or newer." - die "${P} requires kernel version 2.6.6 or newer" - elif kernel_is 2 4 && kernel_is lt 2 4 23; then - eerror "${P} requires kernel version 2.4.23 or newer." - die "${P} requires kernel version 2.4.23 or newer" - fi -} - -src_install() { - dosbin usr/sbin/laptop_mode - - insinto /etc/laptop-mode - doins etc/laptop-mode/laptop-mode.conf - - newinitd ${FILESDIR}/${P}-init.d laptop_mode - - # do not install lm-syslog-setup man page, bug #105022 - rm -f man/lm-syslog-setup.8 - doman man/* - - dodoc Documentation/laptop-mode.txt README - - if use acpi; then - insinto /etc/acpi/events/ - doins etc/acpi/events/* - - exeinto /etc/acpi/actions/ - doexe etc/acpi/actions/* - fi - - if use apm; then - exeinto /etc/apm/event.d/ - doexe etc/apm/event.d/* - fi -} - -pkg_postinst() { - if ! use acpi && ! use apm; then - ewarn - ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not" - ewarn "automatically disable laptop_mode on low battery." - ewarn - ewarn "This means you can lose up to 10 minutes of work if running" - ewarn "out of battery while laptop_mode is enabled." - ewarn - ewarn "Please see /usr/share/doc/${PF}/laptop-mode.txt.gz for further" - ewarn "information." - ewarn - fi -} |