summaryrefslogtreecommitdiff
blob: 237a876558317ab6aaf4a8384e8ec44053fe6161 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-odccm/synce-odccm-0.13.ebuild,v 1.3 2009/01/21 11:47:11 mescalinum Exp $

inherit versionator

DESCRIPTION="SynCE - odccm 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/dbus
		sys-apps/hal
		>=net-libs/gnet-2.0.0
		!app-pda/synce-dccm
		!app-pda/synce-vdccm
		=app-pda/synce-libsynce-${synce_PV}*
		=app-pda/synce-librapi2-${synce_PV}*"
RDEPEND="${DEPEND}"

MY_P="odccm-${PV}"
SRC_URI="mirror://sourceforge/synce/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"

src_install() {
	make DESTDIR="${D}" install || die

	insinto /etc/dbus-1/system.d/
	doins src/odccm.conf

	newinitd "${FILESDIR}"/init.odccm odccm

	dodoc AUTHORS INSTALL NEWS README ChangeLog
}