Gentoo Archives: gentoo-commits

From: "Federico Ferri (mescalinum)" <mescalinum@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-pda/synce-hal: synce-hal-0.13.ebuild
Date: Tue, 27 Jan 2009 02:42:07
Message-Id: E1LRdtt-0007qY-1w@stork.gentoo.org
1 mescalinum 09/01/27 02:42:05
2
3 Modified: synce-hal-0.13.ebuild
4 Log:
5 fix install location of hal scripts - in a better way
6 (Portage version: 2.2_rc23/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.5 app-pda/synce-hal/synce-hal-0.13.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/synce-hal/synce-hal-0.13.ebuild?rev=1.5&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/synce-hal/synce-hal-0.13.ebuild?rev=1.5&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-pda/synce-hal/synce-hal-0.13.ebuild?r1=1.4&r2=1.5
14
15 Index: synce-hal-0.13.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-pda/synce-hal/synce-hal-0.13.ebuild,v
18 retrieving revision 1.4
19 retrieving revision 1.5
20 diff -u -r1.4 -r1.5
21 --- synce-hal-0.13.ebuild 27 Jan 2009 02:32:21 -0000 1.4
22 +++ synce-hal-0.13.ebuild 27 Jan 2009 02:42:04 -0000 1.5
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2009 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-hal/synce-hal-0.13.ebuild,v 1.4 2009/01/27 02:32:21 mescalinum Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-hal/synce-hal-0.13.ebuild,v 1.5 2009/01/27 02:42:04 mescalinum Exp $
28
29 inherit multilib versionator
30
31 @@ -28,16 +28,15 @@
32
33 SRC_URI="mirror://sourceforge/synce/${P}.tar.gz"
34
35 +src_compile() {
36 + econf --with-hal-addon-dir="/usr/$(get_libdir)/hal/scripts" || die
37 + emake || die
38 +}
39 +
40 src_install() {
41 make DESTDIR="${D}" install || die
42 dodoc AUTHORS README ChangeLog || die
43
44 # fix collision with app-pda/synce-serial, bug 246675
45 rm -f "${D}/usr/libexec/synce-serial-chat"
46 -
47 - # fix install location of hal scripts
48 - local hal_dir="/usr/$(get_libdir)/hal"
49 - local hal_scripts_dir="${hal_dir}/scripts"
50 - dodir "${hal_scripts_dir}"
51 - mv "${D}${hal_dir}"/hal-synce-* "${D}${hal_scripts_dir}/"
52 }