diff options
author | Federico Ferri <mescalinum@gentoo.org> | 2009-01-27 02:42:04 +0000 |
---|---|---|
committer | Federico Ferri <mescalinum@gentoo.org> | 2009-01-27 02:42:04 +0000 |
commit | 9588912a0ea5da6ccddbbd389013baab7939a387 (patch) | |
tree | 09e25119cfc939c46cc97a5e96cbbcf66b9378fe /app-pda | |
parent | Disable stack-protector on C++ for <gcc-4, bug #230119. (diff) | |
download | gentoo-2-9588912a0ea5da6ccddbbd389013baab7939a387.tar.gz gentoo-2-9588912a0ea5da6ccddbbd389013baab7939a387.tar.bz2 gentoo-2-9588912a0ea5da6ccddbbd389013baab7939a387.zip |
fix install location of hal scripts - in a better way
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'app-pda')
-rw-r--r-- | app-pda/synce-hal/synce-hal-0.13.ebuild | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/app-pda/synce-hal/synce-hal-0.13.ebuild b/app-pda/synce-hal/synce-hal-0.13.ebuild index fcedbd82f139..640f51aa96cd 100644 --- a/app-pda/synce-hal/synce-hal-0.13.ebuild +++ b/app-pda/synce-hal/synce-hal-0.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $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 $ +# $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 $ inherit multilib versionator @@ -28,16 +28,15 @@ RDEPEND="${DEPEND} SRC_URI="mirror://sourceforge/synce/${P}.tar.gz" +src_compile() { + econf --with-hal-addon-dir="/usr/$(get_libdir)/hal/scripts" || die + emake || die +} + src_install() { make DESTDIR="${D}" install || die dodoc AUTHORS README ChangeLog || die # fix collision with app-pda/synce-serial, bug 246675 rm -f "${D}/usr/libexec/synce-serial-chat" - - # fix install location of hal scripts - local hal_dir="/usr/$(get_libdir)/hal" - local hal_scripts_dir="${hal_dir}/scripts" - dodir "${hal_scripts_dir}" - mv "${D}${hal_dir}"/hal-synce-* "${D}${hal_scripts_dir}/" } |