Lines 10-16
Link Here
|
10 |
HOMEPAGE="http://www.linux-phc.org/ |
10 |
HOMEPAGE="http://www.linux-phc.org/ |
11 |
http://www.linux-phc.org/forum/viewtopic.php?f=7&t=267" |
11 |
http://www.linux-phc.org/forum/viewtopic.php?f=7&t=267" |
12 |
#no automatic filenames here, sorry |
12 |
#no automatic filenames here, sorry |
13 |
SRC_URI="http://www.linux-phc.org/forum/download/file.php?id=147 -> phc-intel-pack-rev11.tar.bz2" |
13 |
SRC_URI="http://www.linux-phc.org/forum/download/file.php?id=149 -> phc-intel-pack-rev12.tar.bz2" |
14 |
|
14 |
|
15 |
LICENSE="GPL-2" |
15 |
LICENSE="GPL-2" |
16 |
SLOT="0" |
16 |
SLOT="0" |
Lines 32-38
Link Here
|
32 |
eerror "Please use a previous version of ${PN} or a newer kernel." |
32 |
eerror "Please use a previous version of ${PN} or a newer kernel." |
33 |
die |
33 |
die |
34 |
fi |
34 |
fi |
35 |
if kernel_is gt 3 11 ; then |
35 |
if kernel_is gt 3 12 ; then |
36 |
eerror "Your kernel version is not yet supported by this version of ${PN}." |
36 |
eerror "Your kernel version is not yet supported by this version of ${PN}." |
37 |
eerror "Please use a newer version of ${PN} or an older kernel." |
37 |
eerror "Please use a newer version of ${PN} or an older kernel." |
38 |
die |
38 |
die |
Lines 41-48
Link Here
|
41 |
} |
41 |
} |
42 |
|
42 |
|
43 |
src_prepare() { |
43 |
src_prepare() { |
44 |
epatch "${FILESDIR}"/phc-intel-pack-rev11-trailing-space.patch |
|
|
45 |
|
46 |
sed -e '/^all:/s:prepare::' \ |
44 |
sed -e '/^all:/s:prepare::' \ |
47 |
-i Makefile || die |
45 |
-i Makefile || die |
48 |
|
46 |
|
Lines 50-56
Link Here
|
50 |
if kernel_is gt 2 6 39 ; then |
48 |
if kernel_is gt 2 6 39 ; then |
51 |
my_sub=drivers |
49 |
my_sub=drivers |
52 |
fi |
50 |
fi |
53 |
cp -v "${KERNEL_DIR}"/${my_sub}/cpufreq/{acpi-cpufreq.c,mperf.h} . || die |
51 |
cp -v "${KERNEL_DIR}"/${my_sub}/cpufreq/acpi-cpufreq.c . || die |
54 |
|
52 |
|
55 |
if kernel_is lt 3 0 ; then |
53 |
if kernel_is lt 3 0 ; then |
56 |
epatch inc/${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}/linux-phc-0.3.2.patch |
54 |
epatch inc/${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}/linux-phc-0.3.2.patch |