Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/halevt: ChangeLog halevt-0.1.6.2-r1.ebuild
Date: Mon, 28 Jun 2010 20:46:31
Message-Id: 20100628204626.7A9B02C621@corvid.gentoo.org
1 hwoarang 10/06/28 20:46:26
2
3 Modified: ChangeLog
4 Added: halevt-0.1.6.2-r1.ebuild
5 Log:
6 Hide debug message from init script
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.14 sys-apps/halevt/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/halevt/ChangeLog?rev=1.14&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/halevt/ChangeLog?rev=1.14&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/halevt/ChangeLog?r1=1.13&r2=1.14
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/halevt/ChangeLog,v
19 retrieving revision 1.13
20 retrieving revision 1.14
21 diff -u -r1.13 -r1.14
22 --- ChangeLog 28 Jun 2010 16:42:35 -0000 1.13
23 +++ ChangeLog 28 Jun 2010 20:46:26 -0000 1.14
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-apps/halevt
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/halevt/ChangeLog,v 1.13 2010/06/28 16:42:35 hwoarang Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/halevt/ChangeLog,v 1.14 2010/06/28 20:46:26 hwoarang Exp $
29 +
30 +*halevt-0.1.6.2-r1 (28 Jun 2010)
31 +
32 + 28 Jun 2010; Markos Chandras <hwoarang@g.o>
33 + +halevt-0.1.6.2-r1.ebuild:
34 + Hide debug message from init script
35
36 *halevt-0.1.6.2 (28 Jun 2010)
37
38
39
40
41 1.1 sys-apps/halevt/halevt-0.1.6.2-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/halevt/halevt-0.1.6.2-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/halevt/halevt-0.1.6.2-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: halevt-0.1.6.2-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/halevt/halevt-0.1.6.2-r1.ebuild,v 1.1 2010/06/28 20:46:26 hwoarang Exp $
51 EAPI="2"
52
53 inherit eutils
54
55 DESCRIPTION="A daemon built on ivman that executes arbitrary commands on HAL events"
56 HOMEPAGE="http://www.nongnu.org/halevt/"
57 SRC_URI="http://savannah.nongnu.org/download/halevt/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE="nls rpath"
63
64 DEPEND="dev-libs/libxml2
65 >=sys-apps/hal-0.5.11-r1
66 >=sys-apps/dbus-1.2.3-r1
67 >=dev-libs/dbus-glib-0.76
68 >=dev-libs/boolstuff-0.1.12
69 nls? ( sys-devel/gettext )"
70 RDEPEND="${DEPEND}"
71
72 src_prepare() {
73 #hide debug message from daemon
74 sed -i "/Using configuration file/s:^://:" src/manager.c
75 }
76
77 src_configure() {
78 econf $(use_enable nls) $(use_enable rpath)
79 }
80
81 src_install () {
82 emake DESTDIR="${D}" install || die "install failed"
83 doinitd "${FILESDIR}"/${PN} || die "failed to install init script"
84 dodoc AUTHORS NEWS README || die "dodoc failed"
85
86 insinto /usr/share/halevt/examples/
87 doins examples/*.xml
88 doins examples/*.sh
89
90 insinto /etc/${PN}/
91 newins examples/automatic_sync_mount.xml ${PN}.xml || die "newins ${PN}.xml failed"
92 }