summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-04-24 16:11:18 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-04-24 16:11:18 +0000
commit179ce6cc2e987c3ef82e897ccb74a41b3d54649f (patch)
treecc4c6402ffc4aacffd900f4f5deaa25eca9283ad /app-laptop
parentversion bump; cleaning (diff)
downloadgentoo-2-179ce6cc2e987c3ef82e897ccb74a41b3d54649f.tar.gz
gentoo-2-179ce6cc2e987c3ef82e897ccb74a41b3d54649f.tar.bz2
gentoo-2-179ce6cc2e987c3ef82e897ccb74a41b3d54649f.zip
Version 1.04-r1 stable on x86, removed old ebuild.
(Portage version: 2.0.51.20-r4)
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.041
-rw-r--r--app-laptop/laptop-mode-tools/laptop-mode-tools-1.04-r1.ebuild4
-rw-r--r--app-laptop/laptop-mode-tools/laptop-mode-tools-1.04.ebuild74
4 files changed, 7 insertions, 78 deletions
diff --git a/app-laptop/laptop-mode-tools/ChangeLog b/app-laptop/laptop-mode-tools/ChangeLog
index 0633b358be6a..067fffcb67f5 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.4 2005/04/21 07:26:58 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/ChangeLog,v 1.5 2005/04/24 16:11:18 brix Exp $
+
+ 24 Apr 2005; <brix@gentoo.org> -laptop-mode-tools-1.04.ebuild,
+ laptop-mode-tools-1.04-r1.ebuild:
+ Version 1.04-r1 stable on x86, removed old ebuild.
21 Apr 2005; Simon Stelling <blubb@gentoo.org>
laptop-mode-tools-1.05.ebuild:
diff --git a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.04 b/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.04
deleted file mode 100644
index 1dbed76c46c5..000000000000
--- a/app-laptop/laptop-mode-tools/files/digest-laptop-mode-tools-1.04
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b26fcc4df2b38da17e4f09872a1cfeda laptop-mode-tools_1.04.tar.gz 30908
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.04-r1.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.04-r1.ebuild
index 71acf0f71405..787177df1693 100644
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.04-r1.ebuild
+++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.04-r1.ebuild
@@ -1,6 +1,6 @@
# 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.04-r1.ebuild,v 1.1 2005/03/25 19:05:33 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/laptop-mode-tools/laptop-mode-tools-1.04-r1.ebuild,v 1.2 2005/04/24 16:11:18 brix Exp $
inherit linux-info
@@ -13,7 +13,7 @@ SRC_URI="http://www.xs4all.nl/~bsamwel/laptop_mode/tools/downloads/${MY_P}.tar.g
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="x86"
IUSE="acpi apm"
diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.04.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.04.ebuild
deleted file mode 100644
index 37da22575e02..000000000000
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.04.ebuild
+++ /dev/null
@@ -1,74 +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.04.ebuild,v 1.1 2005/03/22 18:52:40 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="~x86"
-
-IUSE="acpi apm"
-
-DEPEND="acpi? ( sys-power/acpid )
- apm? ( sys-apps/apmd )"
-
-pkg_setup() {
- linux-info_pkg_setup
-
- if [ ${KV_MAJOR} -eq 2 -a ${KV_MINOR} -eq 6 -a ${KV_PATCH} -lt 6 ]; then
- eerror "${P} requires kernel version 2.6.6 or newer."
- die "${P} requires kernel version 2.6.6 or newer"
- elif [ ${KV_MAJOR} -eq 2 -a ${KV_MINOR} -eq 4 -a ${KV_PATCH} -lt 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 laptop_mode
-
- doman man/*
-
- dodoc Documentation/laptop-mode.txt README
-
- if useq acpi; then
- insinto /etc/acpi/events/
- doins etc/acpi/events/*
-
- exeinto /etc/acpi/actions/
- doexe etc/acpi/actions/*
- fi
-
- if useq apm; then
- exeinto /etc/apm/event.d/
- doexe etc/apm/event.d/*
- fi
-}
-
-pkg_postinst() {
- if ! useq acpi && ! useq 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
-}