Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-plugins/wmacpi: wmacpi-1.34.ebuild wmacpi-2.1_rc1.ebuild
Date: Sun, 29 Jun 2008 13:08:44
Message-Id: E1KCwdz-00088H-5k@stork.gentoo.org
1 drac 08/06/29 13:08:39
2
3 Modified: wmacpi-1.34.ebuild
4 Removed: wmacpi-2.1_rc1.ebuild
5 Log:
6 old, quoting
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc3 x86_64)
8
9 Revision Changes Path
10 1.14 x11-plugins/wmacpi/wmacpi-1.34.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmacpi/wmacpi-1.34.ebuild?rev=1.14&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmacpi/wmacpi-1.34.ebuild?rev=1.14&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmacpi/wmacpi-1.34.ebuild?r1=1.13&r2=1.14
15
16 Index: wmacpi-1.34.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmacpi/wmacpi-1.34.ebuild,v
19 retrieving revision 1.13
20 retrieving revision 1.14
21 diff -u -r1.13 -r1.14
22 --- wmacpi-1.34.ebuild 15 Jan 2006 14:31:56 -0000 1.13
23 +++ wmacpi-1.34.ebuild 29 Jun 2008 13:08:38 -0000 1.14
24 @@ -1,37 +1,37 @@
25 -# Copyright 1999-2006 Gentoo Foundation
26 +# Copyright 1999-2008 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmacpi/wmacpi-1.34.ebuild,v 1.13 2006/01/15 14:31:56 nelchael Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmacpi/wmacpi-1.34.ebuild,v 1.14 2008/06/29 13:08:38 drac Exp $
30
31 inherit eutils
32
33 -IUSE="acpi apm"
34 DESCRIPTION="WMaker DockApp: ACPI status monitor for laptops"
35 HOMEPAGE="http://www.ne.jp/asahi/linux/timecop/"
36 SRC_URI="http://www.ne.jp/asahi/linux/timecop/software/${P}.tar.gz"
37
38 LICENSE="GPL-2"
39 SLOT="0"
40 -KEYWORDS="x86 -sparc amd64 ppc"
41 +KEYWORDS="amd64 ppc -sparc x86"
42 +IUSE="acpi apm"
43
44 DEPEND="x11-libs/libdockapp"
45
46 src_unpack() {
47 unpack ${A}
48 - cd ${S}
49 + cd "${S}"
50 use apm && use acpi && eerror "APM and ACPI are in USE ... defaulting to ACPI"
51 use apm || use acpi || eerror "Neither APM or ACPI are in USE ... defaulting to ACPI"
52 if use acpi || ! use apm ; then
53 - epatch ${FILESDIR}/${PV}-acpi.patch
54 + epatch "${FILESDIR}"/${PV}-acpi.patch
55 else
56 - epatch ${FILESDIR}/${PV}-apm.patch
57 + epatch "${FILESDIR}"/${PV}-apm.patch
58 fi
59 }
60
61 src_compile() {
62 - emake OPT="${CFLAGS}" || die
63 + emake OPT="${CFLAGS}" || die "emake failed."
64 }
65
66 src_install() {
67 - dobin wmacpi
68 + dobin wmacpi || die "dobin failed."
69 dodoc AUTHORS ChangeLog README
70 }
71
72
73
74 --
75 gentoo-commits@l.g.o mailing list