summaryrefslogtreecommitdiff
blob: 23076d70314321a2d7f0b2e8af8007ed6dcaf1b9 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=3

PYTHON_DEPEND="2:2.6"

inherit multilib python

DESCRIPTION="Motorola plug-in for OpenSync"
HOMEPAGE="http://www.opensync.org/"
SRC_URI="http://www.opensync.org/download/releases/${PV}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="bluetooth"

RDEPEND="~app-pda/libopensync-${PV}
	~app-pda/libopensync-plugin-python-${PV}
	dev-python/python-dateutil
	bluetooth? ( dev-python/pybluez )"
DEPEND=""

src_install() {
	# This is correct per README and OPENSYNC_PYTHONPLG_DIR variable in
	# configure.in at libopensync-plugin-python-0.22 package.
	insinto /usr/$(get_libdir)/opensync/python-plugins
	doins motosync.py || die
	exeinto /usr/share/opensync/defaults
	doexe moto-sync || die
	dodoc AUTHORS README
}