Gentoo Archives: gentoo-commits

From: "Peter Weller (welp)" <welp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-laptop/tp_smapi: ChangeLog tp_smapi-0.37.ebuild
Date: Sun, 30 Mar 2008 22:35:09
Message-Id: E1Jg67G-0000W9-6v@stork.gentoo.org
1 welp 08/03/30 22:35:06
2
3 Modified: ChangeLog
4 Added: tp_smapi-0.37.ebuild
5 Log:
6 Bump; bugs 141565 and 208627
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.24 app-laptop/tp_smapi/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/tp_smapi/ChangeLog?rev=1.24&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/tp_smapi/ChangeLog?rev=1.24&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/tp_smapi/ChangeLog?r1=1.23&r2=1.24
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v
19 retrieving revision 1.23
20 retrieving revision 1.24
21 diff -u -r1.23 -r1.24
22 --- ChangeLog 31 Dec 2007 18:30:43 -0000 1.23
23 +++ ChangeLog 30 Mar 2008 22:35:05 -0000 1.24
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-laptop/tp_smapi
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v 1.23 2007/12/31 18:30:43 welp Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v 1.24 2008/03/30 22:35:05 welp Exp $
30 +
31 +*tp_smapi-0.37 (30 Mar 2008)
32 +
33 + 30 Mar 2008; Peter Weller <welp@g.o> +tp_smapi-0.37.ebuild:
34 + Bump; bugs 141565 and 208627
35
36 *tp_smapi-0.33 (31 Dec 2007)
37
38
39
40
41 1.1 app-laptop/tp_smapi/tp_smapi-0.37.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/tp_smapi/tp_smapi-0.37.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/tp_smapi/tp_smapi-0.37.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tp_smapi-0.37.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/tp_smapi-0.37.ebuild,v 1.1 2008/03/30 22:35:05 welp Exp $
51
52 inherit linux-mod linux-info
53
54 DESCRIPTION="IBM ThinkPad SMAPI BIOS driver"
55 HOMEPAGE="http://tpctl.sourceforge.net/"
56 SRC_URI="mirror://sourceforge/tpctl/${P}.tgz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~x86"
61
62 IUSE="hdaps"
63
64 RESTRICT="userpriv"
65
66 # We need dmideode if the kernel does not support DMI_DEV_TYPE_OEM_STRING
67 # in dmi.h
68 DEPEND="sys-apps/dmidecode"
69
70 pkg_setup() {
71 linux-mod_pkg_setup
72
73 if kernel_is lt 2 6 19; then
74 eerror
75 eerror "${P} requires Linux kernel 2.6.19 or above."
76 eerror
77 die "Unsupported kernel version"
78 fi
79
80 MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)"
81 BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_DIR}"
82 BUILD_TARGETS="default"
83
84 if use hdaps; then
85 MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)"
86 BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1"
87
88 CONFIG_CHECK="!SENSORS_HDAPS"
89 ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)"
90 linux_info-pkg-setup
91 fi
92 }
93
94 src_unpack() {
95 unpack ${A}
96 cd "${S}"
97
98 # Remove usage of `sudo` in Makefile.
99 sed -i 's,sudo ,,' Makefile
100 }
101
102 src_install() {
103 linux-mod_src_install
104
105 dodoc CHANGES README
106 }
107
108
109
110 --
111 gentoo-commits@l.g.o mailing list