summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-01-19 17:24:19 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-01-19 17:24:19 +0000
commit3fbe6e2e99d25c657eb8fba21e49bf6331fbf089 (patch)
treee766c9acf0ad51c011c463890c6a2fad38ae3c74 /app-laptop
parentMarked stable on amd64 (diff)
downloadgentoo-2-3fbe6e2e99d25c657eb8fba21e49bf6331fbf089.tar.gz
gentoo-2-3fbe6e2e99d25c657eb8fba21e49bf6331fbf089.tar.bz2
gentoo-2-3fbe6e2e99d25c657eb8fba21e49bf6331fbf089.zip
Pruned old ebuilds.
(Portage version: 2.0.53)
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/laptop-mode-tools/ChangeLog6
-rw-r--r--app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.111
-rw-r--r--app-laptop/laptop-mode-tools/laptop-mode-tools-1.11.ebuild94
3 files changed, 5 insertions, 96 deletions
diff --git a/app-laptop/laptop-mode-tools/ChangeLog b/app-laptop/laptop-mode-tools/ChangeLog
index ed7cf3045702..613b3ba88fff 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-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.22 2006/01/02 15:14:58 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.23 2006/01/19 17:24:19 brix Exp $
+
+ 19 Jan 2006; Henrik Brix Andersen <brix@gentoo.org>
+ -laptop-mode-tools-1.11.ebuild:
+ Pruned old ebuilds.
*laptop-mode-tools-1.11-r1 (02 Jan 2006)
diff --git a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.11 b/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.11
deleted file mode 100644
index db6c2bd3bc3e..000000000000
--- a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.11
+++ /dev/null
@@ -1 +0,0 @@
-MD5 f5c882e2ba1953b80abd1d7cd38c3a51 laptop-mode-tools_1.11.tar.gz 51501
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.11.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.11.ebuild
deleted file mode 100644
index 03efc5d08768..000000000000
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.11.ebuild
+++ /dev/null
@@ -1,94 +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.11.ebuild,v 1.3 2005/11/29 21:32:35 brix Exp $
-
-inherit fixheadtails 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
- eerror "${P} requires kernel version 2.6.6 or newer."
- eerror
- die "${P} requires kernel version 2.6.6 or newer"
- elif kernel_is 2 4 && kernel_is lt 2 4 23; then
- eerror
- eerror "${P} requires kernel version 2.4.23 or newer."
- eerror/eti
- die "${P} requires kernel version 2.4.23 or newer"
- fi
-}
-
-src_unpack() {
- unpack ${A}
-
- ht_fix_file ${S}/usr/sbin/lm-profiler
-}
-
-src_install() {
- dosbin usr/sbin/laptop_mode
- dosbin usr/sbin/lm-profiler
-
- insinto /etc/laptop-mode
- doins etc/laptop-mode/laptop-mode.conf
- doins etc/laptop-mode/lm-profiler.conf
-
- newinitd ${FILESDIR}/${P}-init.d laptop_mode
-
- keepdir /etc/laptop-mode/batt-start
- keepdir /etc/laptop-mode/batt-stop
- keepdir /etc/laptop-mode/lm-ac-start
- keepdir /etc/laptop-mode/lm-ac-stop
- keepdir /etc/laptop-mode/nolm-ac-start
- keepdir /etc/laptop-mode/nolm-ac-stop
-
- # 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
-}