1 |
ikelos 09/09/06 22:41:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: longrun-0.9-r4.ebuild |
5 |
Log: |
6 |
Add in kernel config existence checks (bug 283320). |
7 |
(Portage version: 2.2_rc40/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.20 app-admin/longrun/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/longrun/ChangeLog?rev=1.20&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/longrun/ChangeLog?rev=1.20&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/longrun/ChangeLog?r1=1.19&r2=1.20 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/longrun/ChangeLog,v |
19 |
retrieving revision 1.19 |
20 |
retrieving revision 1.20 |
21 |
diff -u -r1.19 -r1.20 |
22 |
--- ChangeLog 6 Sep 2009 21:33:44 -0000 1.19 |
23 |
+++ ChangeLog 6 Sep 2009 22:41:52 -0000 1.20 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-admin/longrun |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/longrun/ChangeLog,v 1.19 2009/09/06 21:33:44 robbat2 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/longrun/ChangeLog,v 1.20 2009/09/06 22:41:52 ikelos Exp $ |
29 |
+ |
30 |
+*longrun-0.9-r4 (06 Sep 2009) |
31 |
+ |
32 |
+ 06 Sep 2009; Mike Auty <ikelos@g.o> +longrun-0.9-r4.ebuild: |
33 |
+ Add in kernel config existence checks (bug 283320). |
34 |
|
35 |
06 Sep 2009; Robin H. Johnson <robbat2@g.o> longrun-0.9-r3.ebuild: |
36 |
Linux-info cleanup (bug #283320): make more CONFIG_CHECK non-fatal. |
37 |
|
38 |
|
39 |
|
40 |
1.1 app-admin/longrun/longrun-0.9-r4.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/longrun/longrun-0.9-r4.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/longrun/longrun-0.9-r4.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: longrun-0.9-r4.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/longrun/longrun-0.9-r4.ebuild,v 1.1 2009/09/06 22:41:52 ikelos Exp $ |
50 |
|
51 |
inherit eutils linux-info toolchain-funcs |
52 |
|
53 |
DESCRIPTION="A utility to control Transmeta's Crusoe and Efficeon processors" |
54 |
HOMEPAGE="http://freshmeat.net/projects/longrun/" |
55 |
|
56 |
DEBIAN_PATCH_VERSION="19" |
57 |
DEBIAN_PATCH="${PN}_${PV}-${DEBIAN_PATCH_VERSION}.diff.gz" |
58 |
SRC_URI=" |
59 |
mirror://kernel/linux/utils/cpu/crusoe/${P}.tar.bz2 |
60 |
mirror://debian/pool/main/l/${PN}/${DEBIAN_PATCH}" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="-ppc ~x86" |
65 |
IUSE="" |
66 |
|
67 |
DEPEND="" |
68 |
|
69 |
S=${WORKDIR}/${PN} |
70 |
|
71 |
CONFIG_CHECK="~X86_MSR ~X86_CPUID" |
72 |
|
73 |
ERROR_X86_MSR=" |
74 |
Longrun needs a MSR device to function. Please select |
75 |
MSR under Processor type and features. It can be build |
76 |
directly into the kernel or as a module. |
77 |
" |
78 |
|
79 |
ERROR_X86_CPUID=" |
80 |
Longrun needs a CPUID device to function. Please select |
81 |
CPUID under Processor type and features. It can be |
82 |
build directly into the kernel or as a module. |
83 |
" |
84 |
|
85 |
src_unpack() { |
86 |
unpack ${P}.tar.bz2 |
87 |
cd "${S}" |
88 |
epatch "${DISTDIR}/${DEBIAN_PATCH}" |
89 |
epatch "${FILESDIR}/${PV}-makefile_cflags.patch" |
90 |
} |
91 |
|
92 |
src_compile() { |
93 |
emake CC="$(tc-getCC)" || die "emake failed" |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
make DESTDIR="${D}" install || die "make install failed" |
98 |
dodoc MAKEDEV-cpuid-msr |
99 |
} |
100 |
|
101 |
pkg_postinst() { |
102 |
if linux_config_exists; then |
103 |
if linux_chkconfig_module X86_MSR; then |
104 |
elog "You have compiled MSR as a module." |
105 |
elog "You need to load it before using Longrun." |
106 |
elog "The module is called msr." |
107 |
elog |
108 |
fi |
109 |
|
110 |
if linux_chkconfig_module X86_CPUID; then |
111 |
elog "You have compiled CPUID as a module." |
112 |
elog "You need to load it before using Longrun." |
113 |
elog "The module is called cpuid." |
114 |
fi |
115 |
else |
116 |
elog "You have no kernel configuration available." |
117 |
elog "Longrun needs both CPUID and MSR capabilites," |
118 |
elog "in the kernel you intend to run it under." |
119 |
fi |
120 |
} |