1 |
welp 08/10/20 08:35:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tp_smapi-0.39.ebuild |
5 |
Log: |
6 |
Bump to 0.39; Bug 239033 |
7 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoomarx x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.28 app-laptop/tp_smapi/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/tp_smapi/ChangeLog?rev=1.28&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/tp_smapi/ChangeLog?rev=1.28&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/tp_smapi/ChangeLog?r1=1.27&r2=1.28 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v |
19 |
retrieving revision 1.27 |
20 |
retrieving revision 1.28 |
21 |
diff -u -r1.27 -r1.28 |
22 |
--- ChangeLog 22 Sep 2008 20:20:25 -0000 1.27 |
23 |
+++ ChangeLog 20 Oct 2008 08:35:22 -0000 1.28 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-laptop/tp_smapi |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v 1.27 2008/09/22 20:20:25 hanno Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/tp_smapi/ChangeLog,v 1.28 2008/10/20 08:35:22 welp Exp $ |
29 |
+ |
30 |
+*tp_smapi-0.39 (20 Oct 2008) |
31 |
+ |
32 |
+ 20 Oct 2008; <welp@g.o> +tp_smapi-0.39.ebuild: |
33 |
+ Bump to 0.39; Bug 239033 |
34 |
|
35 |
22 Sep 2008; Hanno Boeck <hanno@g.o> |
36 |
+files/thinkpad_ec_semaphore.patch, tp_smapi-0.37.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 app-laptop/tp_smapi/tp_smapi-0.39.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/tp_smapi/tp_smapi-0.39.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-laptop/tp_smapi/tp_smapi-0.39.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: tp_smapi-0.39.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 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.39.ebuild,v 1.1 2008/10/20 08:35:22 welp Exp $ |
50 |
|
51 |
inherit linux-mod linux-info |
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 |
|
87 |
CONFIG_CHECK="!SENSORS_HDAPS" |
88 |
ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)" |
89 |
linux-info_pkg_setup |
90 |
fi |
91 |
} |
92 |
|
93 |
src_unpack() { |
94 |
unpack ${A} |
95 |
cd "${S}" |
96 |
|
97 |
# Remove usage of `sudo` in Makefile. |
98 |
sed -i 's,sudo ,,' Makefile |
99 |
} |
100 |
|
101 |
src_install() { |
102 |
linux-mod_src_install |
103 |
|
104 |
dodoc CHANGES README |
105 |
} |