/[gentoo-x86]/app-pda/synce-sync-engine/synce-sync-engine-0.15.1-r3.ebuild
Gentoo

Contents of /app-pda/synce-sync-engine/synce-sync-engine-0.15.1-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Jun 15 09:22:20 2012 UTC (2 years, 6 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +13 -13 lines
Use app-pda/synce-core instead of obsolete dev-libs/libsynce.

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-pda/synce-sync-engine/synce-sync-engine-0.15.1-r3.ebuild,v 1.2 2011/10/23 22:04:47 tetromino Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="2:2.7"
8 SUPPORT_PYTHON_ABIS=1
9 RESTRICT_PYTHON_ABIS="3.*"
10
11 inherit distutils multilib
12
13 DESCRIPTION="A synchronization engine for SynCE"
14 HOMEPAGE="http://sourceforge.net/projects/synce/"
15 SRC_URI="mirror://sourceforge/synce/${P}.tar.gz"
16
17 LICENSE="GPL-2"
18 SLOT="0"
19 KEYWORDS="~amd64 ~x86"
20 IUSE="opensync"
21
22 RDEPEND="app-pda/synce-core[python]
23 >=dev-libs/librra-0.16[python]
24 >=dev-libs/librtfcomp-1.2[python]
25 dev-libs/libxml2[python]
26 dev-libs/libxslt[python]
27 dev-python/dbus-python
28 dev-python/pygobject:2
29 opensync? ( || (
30 >=app-pda/libopensync-0.39[python]
31 ( =app-pda/libopensync-0.22*[python] app-pda/libopensync-plugin-python )
32 ) )"
33 DEPEND=${RDEPEND}
34
35 PYTHON_MODNAME=SyncEngine
36
37 src_prepare() {
38 sed -i -e 's:share/doc/sync-engine:foobar:' setup.py || die
39
40 distutils_src_prepare
41 }
42
43 src_install() {
44 insinto /usr/share/dbus-1/services
45 doins config/org.synce.SyncEngine.service || die
46
47 insinto /etc
48 doins config/syncengine.conf.xml || die
49
50 distutils_src_install
51
52 ### opensync plug-in BEGIN
53 find "${ED}" -type d -name plugins -exec rm -rf {} +
54
55 if use opensync; then
56 local plug=plugins/synce-opensync-plugin-
57
58 if has_version ">=app-pda/libopensync-0.39"; then
59 insinto /usr/$(get_libdir)/libopensync1/python-plugins
60 newins ${plug}3x.py synce-plugin.py || die
61 else
62 # See OPENSYNC_PYTHONPLG_DIR variable in libopensync-python-plugin-0.22
63 # to verify path for python plugins.
64 insinto /usr/$(get_libdir)/opensync/python-plugins
65 newins ${plug}2x.py synce-plugin.py || die
66 fi
67
68 dodoc ${plug}3x.README || die
69 fi
70 ### opensync plug-in END
71
72 rm -rf "${ED}"/usr/foobar
73 }

  ViewVC Help
Powered by ViewVC 1.1.20