blob: 3c3dc4e0d0c8863657a54953df74aaa80cb7f481 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# 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.6 2009/05/10 15:04:18 mescalinum Exp $
inherit multilib versionator
DESCRIPTION="SynCE - hal connection manager"
HOMEPAGE="http://sourceforge.net/projects/synce/"
LICENSE="MIT"
synce_PV=$(get_version_component_range 1-2)
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="sys-apps/hal
>=net-libs/gnet-2.0.0
!app-pda/synce-dccm
!app-pda/synce-vdccm
!app-pda/synce-odccm
=app-pda/synce-libsynce-${synce_PV}*
=app-pda/synce-librapi2-${synce_PV}*
=app-pda/synce-librra-${synce_PV}*"
RDEPEND="${DEPEND}
=app-pda/synce-sync-engine-${synce_PV}*
app-pda/synce-serial
net-misc/dhcp"
SRC_URI="mirror://sourceforge/synce/${P}.tar.gz"
src_compile() {
econf --with-hal-addon-dir="/usr/$(get_libdir)/hal/scripts" --localstatedir="/var" || 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"
}
|