1 |
drac 08/06/29 13:12:19 |
2 |
|
3 |
Modified: wmacpimon-0.2.1.ebuild |
4 |
Log: |
5 |
quoting |
6 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc3 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.7 x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild?rev=1.7&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild?rev=1.7&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild?r1=1.6&r2=1.7 |
14 |
|
15 |
Index: wmacpimon-0.2.1.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild,v |
18 |
retrieving revision 1.6 |
19 |
retrieving revision 1.7 |
20 |
diff -u -r1.6 -r1.7 |
21 |
--- wmacpimon-0.2.1.ebuild 22 Jul 2007 05:29:57 -0000 1.6 |
22 |
+++ wmacpimon-0.2.1.ebuild 29 Jun 2008 13:12:18 -0000 1.7 |
23 |
@@ -1,11 +1,9 @@ |
24 |
-# Copyright 1999-2007 Gentoo Foundation |
25 |
+# Copyright 1999-2008 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild,v 1.6 2007/07/22 05:29:57 dberkholz Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmacpimon/wmacpimon-0.2.1.ebuild,v 1.7 2008/06/29 13:12:18 drac Exp $ |
29 |
|
30 |
inherit eutils |
31 |
|
32 |
-IUSE="" |
33 |
- |
34 |
DESCRIPTION="WMaker DockApp that monitors the temperature and Speedstep features in new ACPI-based systems." |
35 |
HOMEPAGE="http://www.vrlteam.org/wmacpimon/" |
36 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
37 |
@@ -13,6 +11,7 @@ |
38 |
LICENSE="GPL-2" |
39 |
SLOT="0" |
40 |
KEYWORDS="x86" |
41 |
+IUSE="" |
42 |
|
43 |
RDEPEND="x11-libs/libX11 |
44 |
x11-libs/libXext |
45 |
@@ -21,34 +20,29 @@ |
46 |
x11-proto/xproto |
47 |
x11-proto/xextproto" |
48 |
|
49 |
-src_unpack() |
50 |
-{ |
51 |
+src_unpack() { |
52 |
unpack ${A} |
53 |
|
54 |
# patch wmacpimon.c file to set default path for |
55 |
# wmacpimon.prc to /var/tmp/ |
56 |
- cd ${S} |
57 |
- epatch ${FILESDIR}/wmacpimon.c.patch |
58 |
+ cd "${S}" |
59 |
+ epatch "${FILESDIR}"/wmacpimon.c.patch |
60 |
} |
61 |
|
62 |
-src_compile() |
63 |
-{ |
64 |
- make \ |
65 |
- CFLAGS="${CFLAGS} -DACPI -Wall -I/usr/X11R6/include" \ |
66 |
- LDFLAGS="${CFLAGS} -DACPI -L/usr/X11R6/lib -lX11 -lXpm -lXext" \ |
67 |
- || die "Compilation failed" |
68 |
+src_compile() { |
69 |
+ emake CFLAGS="${CFLAGS} -DACPI -Wall" \ |
70 |
+ LDFLAGS="${CFLAGS} -DACPI -lX11 -lXpm -lXext" \ |
71 |
+ || die "emake failed." |
72 |
} |
73 |
|
74 |
-src_install() |
75 |
-{ |
76 |
- dobin wmacpimond wmacpimon |
77 |
+src_install() { |
78 |
+ dobin wmacpimond wmacpimon || die "dobin failed." |
79 |
dodoc AUTHORS ChangeLog README |
80 |
- newinitd ${FILESDIR}/wmacpimon.initscript wmacpimon |
81 |
+ newinitd "${FILESDIR}"/wmacpimon.initscript wmacpimon |
82 |
} |
83 |
|
84 |
-pkg_postinst() |
85 |
-{ |
86 |
- einfo "Remember to start the wmacpimond daemon" |
87 |
- einfo "(by issuing the \"/etc/init.d/wmacpimon start\" command)" |
88 |
- einfo "before you attempt to run wmacpimon..." |
89 |
+pkg_postinst() { |
90 |
+ elog "Remember to start the wmacpimond daemon" |
91 |
+ elog "(by issuing the \"/etc/init.d/wmacpimon start\" command)" |
92 |
+ elog "before you attempt to run wmacpimon..." |
93 |
} |
94 |
|
95 |
|
96 |
|
97 |
-- |
98 |
gentoo-commits@l.g.o mailing list |