1 |
xmw 13/12/02 10:21:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: phc-intel-0.3.2.12.12.ebuild |
5 |
Log: |
6 |
Version bump (bug 492262). |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 62EEF090) |
9 |
|
10 |
Revision Changes Path |
11 |
1.14 sys-power/phc-intel/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/ChangeLog?rev=1.14&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/ChangeLog?rev=1.14&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/ChangeLog?r1=1.13&r2=1.14 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-power/phc-intel/ChangeLog,v |
20 |
retrieving revision 1.13 |
21 |
retrieving revision 1.14 |
22 |
diff -u -r1.13 -r1.14 |
23 |
--- ChangeLog 5 Sep 2013 22:38:45 -0000 1.13 |
24 |
+++ ChangeLog 2 Dec 2013 10:21:10 -0000 1.14 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-power/phc-intel |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-power/phc-intel/ChangeLog,v 1.13 2013/09/05 22:38:45 xmw Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-power/phc-intel/ChangeLog,v 1.14 2013/12/02 10:21:10 xmw Exp $ |
30 |
+ |
31 |
+*phc-intel-0.3.2.12.12 (02 Dec 2013) |
32 |
+ |
33 |
+ 02 Dec 2013; Michael Weber <xmw@g.o> |
34 |
+ +files/phc-intel-pack-rev12-trailing-space.patch, |
35 |
+ +phc-intel-0.3.2.12.12.ebuild, phc-intel-0.3.2.12.11.ebuild: |
36 |
+ Version bump (bug 492262). |
37 |
|
38 |
05 Sep 2013; Michael Weber <xmw@g.o> |
39 |
+files/phc-intel-pack-rev11-trailing-space.patch, |
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-power/phc-intel/phc-intel-0.3.2.12.12.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/phc-intel-0.3.2.12.12.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-power/phc-intel/phc-intel-0.3.2.12.12.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: phc-intel-0.3.2.12.12.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-power/phc-intel/phc-intel-0.3.2.12.12.ebuild,v 1.1 2013/12/02 10:21:10 xmw Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
inherit linux-info linux-mod eutils |
57 |
|
58 |
DESCRIPTION="Processor Hardware Control for Intel CPUs" |
59 |
HOMEPAGE="http://www.linux-phc.org/ |
60 |
http://www.linux-phc.org/forum/viewtopic.php?f=7&t=267" |
61 |
#no automatic filenames here, sorry |
62 |
SRC_URI="http://www.linux-phc.org/forum/download/file.php?id=149 -> phc-intel-pack-rev12.tar.bz2" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="" |
68 |
|
69 |
CONFIG_CHECK="~!X86_ACPI_CPUFREQ" |
70 |
ERROR_X86_ACPI_CPUFREQ="CONFIG_X86_ACPI_CPUFREQ has to be configured to Module to enable the replacement of acpi-cpufreq with phc-intel." |
71 |
|
72 |
MODULE_NAMES="phc-intel(misc:)" |
73 |
BUILD_PARAMS="KERNELSRC=\"${KERNEL_DIR}\" -j1" |
74 |
BUILD_TARGETS="all" |
75 |
|
76 |
S=${WORKDIR}/${A/.tar.bz2} |
77 |
|
78 |
pkg_setup() { |
79 |
if kernel_is lt 2 6 27 ; then |
80 |
eerror "Your kernel version is no longer supported by this version of ${PN}." |
81 |
eerror "Please use a previous version of ${PN} or a newer kernel." |
82 |
die |
83 |
fi |
84 |
if kernel_is gt 3 12 ; then |
85 |
eerror "Your kernel version is not yet supported by this version of ${PN}." |
86 |
eerror "Please use a newer version of ${PN} or an older kernel." |
87 |
die |
88 |
fi |
89 |
linux-mod_pkg_setup |
90 |
} |
91 |
|
92 |
src_prepare() { |
93 |
epatch "${FILESDIR}"/phc-intel-pack-rev11-trailing-space.patch |
94 |
epatch "${FILESDIR}"/phc-intel-pack-rev12-trailing-space.patch |
95 |
|
96 |
sed -e '/^all:/s:prepare::' \ |
97 |
-i Makefile || die |
98 |
|
99 |
local my_sub=arch/x86/kernel/cpu |
100 |
if kernel_is gt 2 6 39 ; then |
101 |
my_sub=drivers |
102 |
fi |
103 |
cp -v "${KERNEL_DIR}"/${my_sub}/cpufreq/acpi-cpufreq.c . || die |
104 |
if kernel_is lt 3 12 ; then |
105 |
cp -v "${KERNEL_DIR}"/${my_sub}/cpufreq/mperf.h . || die |
106 |
fi |
107 |
|
108 |
if kernel_is lt 3 0 ; then |
109 |
epatch inc/${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}/linux-phc-0.3.2.patch |
110 |
else |
111 |
epatch inc/${KV_MAJOR}.${KV_MINOR}/linux-phc-0.3.2.patch |
112 |
fi |
113 |
|
114 |
mv acpi-cpufreq.c phc-intel.c || die |
115 |
} |