Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: app-laptop/laptop-mode-tools/laptop-mode-tools-9999.ebuild

Issue 4664006: laptop-mode-tools: replace iwconfig & co with iw (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/chromiumos-overlay.git@master
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 1999-2009 Gentoo Foundation 1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2 2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/app-laptop/laptop-mode -tools/laptop-mode-tools-1.52.ebuild,v 1.1 2009/10/16 18:42:23 bangert Exp $ 3 # $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/app-laptop/laptop-mode -tools/laptop-mode-tools-1.52.ebuild,v 1.1 2009/10/16 18:42:23 bangert Exp $
4 4
5 EAPI="2" 5 EAPI="2"
6 6
7 inherit cros-workon 7 inherit cros-workon
8 8
9 DESCRIPTION="Linux kernel laptop_mode user-space utilities" 9 DESCRIPTION="Linux kernel laptop_mode user-space utilities"
10 HOMEPAGE="http://www.samwel.tk/laptop_mode/" 10 HOMEPAGE="http://www.samwel.tk/laptop_mode/"
11 11
12 LICENSE="GPL-2" 12 LICENSE="GPL-2"
13 SLOT="0" 13 SLOT="0"
14 KEYWORDS="~amd64 ~x86 ~arm" 14 KEYWORDS="~amd64 ~x86 ~arm"
15 15
16 IUSE="bluetooth" 16 IUSE="bluetooth"
17 17
18 DEPEND="" 18 DEPEND=""
19 19
20 RDEPEND="sys-apps/ethtool 20 RDEPEND="sys-apps/ethtool
21 acpi? ( sys-power/acpid ) 21 acpi? ( sys-power/acpid )
22 apm? ( sys-apps/apmd ) 22 apm? ( sys-apps/apmd )
23 bluetooth? ( 23 bluetooth? (
24 || ( 24 || (
25 net-wireless/bluez 25 net-wireless/bluez
26 net-wireless/bluez-utils 26 net-wireless/bluez-utils
27 ) 27 )
28 ) 28 )
29 hal? ( sys-apps/hal ) 29 hal? ( sys-apps/hal )
30 » » net-wireless/wireless-tools 30 » » net-wireless/iw
Sameer Nanda 2010/11/10 17:52:40 spaces instead of tabs.
Sam Leffler 2010/11/10 18:12:10 The whole file uses tabs and not spaces; gonna pus
31 scsi? ( sys-apps/sdparm ) 31 scsi? ( sys-apps/sdparm )
32 sys-apps/hdparm" 32 sys-apps/hdparm"
33 33
34 src_install() { 34 src_install() {
35 dodir /etc/pm/sleep.d 35 dodir /etc/pm/sleep.d
36 cd laptop-mode-tools_1.52 36 cd laptop-mode-tools_1.52
37 DESTDIR="${D}" \ 37 DESTDIR="${D}" \
38 MAN_D="/usr/share/man" \ 38 MAN_D="/usr/share/man" \
39 INIT_D="none" \ 39 INIT_D="none" \
40 APM="$(use apm && echo force || echo disabled)" \ 40 APM="$(use apm && echo force || echo disabled)" \
(...skipping 15 matching lines...) Expand all
56 ewarn "automatically disable laptop_mode on low battery." 56 ewarn "automatically disable laptop_mode on low battery."
57 ewarn 57 ewarn
58 ewarn "This means you can lose up to 10 minutes of work if runni ng" 58 ewarn "This means you can lose up to 10 minutes of work if runni ng"
59 ewarn "out of battery while laptop_mode is enabled." 59 ewarn "out of battery while laptop_mode is enabled."
60 ewarn 60 ewarn
61 ewarn "Please see /usr/share/doc/${PF}/laptop-mode.txt.gz for fu rther" 61 ewarn "Please see /usr/share/doc/${PF}/laptop-mode.txt.gz for fu rther"
62 ewarn "information." 62 ewarn "information."
63 ewarn 63 ewarn
64 fi 64 fi
65 } 65 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698