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