1 |
s4t4n 10/09/06 07:48:33 |
2 |
|
3 |
Modified: ChangeLog wmacpimon-0.2.1.ebuild |
4 |
Log: |
5 |
Reworked Makefile patch, simplified ebuild. Closes bug #336091. |
6 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.9 x11-plugins/wmacpimon/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmacpimon/ChangeLog?rev=1.9&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmacpimon/ChangeLog?rev=1.9&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmacpimon/ChangeLog?r1=1.8&r2=1.9 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmacpimon/ChangeLog,v |
18 |
retrieving revision 1.8 |
19 |
retrieving revision 1.9 |
20 |
diff -u -r1.8 -r1.9 |
21 |
--- ChangeLog 2 Dec 2008 11:29:52 -0000 1.8 |
22 |
+++ ChangeLog 6 Sep 2010 07:48:33 -0000 1.9 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for x11-plugins/wmacpimon |
25 |
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmacpimon/ChangeLog,v 1.8 2008/12/02 11:29:52 s4t4n Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmacpimon/ChangeLog,v 1.9 2010/09/06 07:48:33 s4t4n Exp $ |
29 |
+ |
30 |
+ 06 Sep 2010; Michele Noberasco <s4t4n@g.o>; wmacpimon-0.2.1.ebuild, files/Makefile.patch: |
31 |
+ Reworked Makefile patch, simplified ebuild. Closes bug #336091. |
32 |
|
33 |
02 Dec 2008; Michele Noberasco <s4t4n@g.o>; wmacpimon-0.2.1.ebuild, files/Makefile.patch: |
34 |
Fixed LDFLAGS ordering. See bug #248618. |
35 |
|
36 |
|
37 |
|
38 |
1.9 x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild?rev=1.9&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild?rev=1.9&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild?r1=1.8&r2=1.9 |
43 |
|
44 |
Index: wmacpimon-0.2.1.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild,v |
47 |
retrieving revision 1.8 |
48 |
retrieving revision 1.9 |
49 |
diff -u -r1.8 -r1.9 |
50 |
--- wmacpimon-0.2.1.ebuild 2 Dec 2008 11:29:52 -0000 1.8 |
51 |
+++ wmacpimon-0.2.1.ebuild 6 Sep 2010 07:48:33 -0000 1.9 |
52 |
@@ -1,7 +1,8 @@ |
53 |
-# Copyright 1999-2008 Gentoo Foundation |
54 |
+# Copyright 1999-2010 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild,v 1.8 2008/12/02 11:29:52 s4t4n Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild,v 1.9 2010/09/06 07:48:33 s4t4n Exp $ |
58 |
|
59 |
+EAPI=2 |
60 |
inherit eutils |
61 |
|
62 |
DESCRIPTION="WMaker DockApp that monitors the temperature and Speedstep features in new ACPI-based systems." |
63 |
@@ -20,24 +21,16 @@ |
64 |
x11-proto/xproto |
65 |
x11-proto/xextproto" |
66 |
|
67 |
-src_unpack() { |
68 |
- unpack ${A} |
69 |
- |
70 |
+src_prepare() { |
71 |
# patch wmacpimon.c file to set default path for |
72 |
# wmacpimon.prc to /var/tmp/ |
73 |
- cd "${S}" |
74 |
epatch "${FILESDIR}"/wmacpimon.c.patch |
75 |
|
76 |
# fix LDFLAGS ordering. See bug #248618. |
77 |
+ # fix LDFLAGS ordering again and other stuff. See bug #336091. |
78 |
epatch "${FILESDIR}"/Makefile.patch |
79 |
} |
80 |
|
81 |
-src_compile() { |
82 |
- emake CFLAGS="${CFLAGS} -DACPI -Wall" \ |
83 |
- LDFLAGS="${CFLAGS} -DACPI -lX11 -lXpm -lXext" \ |
84 |
- || die "emake failed." |
85 |
-} |
86 |
- |
87 |
src_install() { |
88 |
dobin wmacpimond wmacpimon || die "dobin failed." |
89 |
dodoc AUTHORS ChangeLog README |