summaryrefslogtreecommitdiff
blob: f24330e392f6fc43dc2df4192ba61e1e8e71a1d8 (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
43
44
45
46
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Author Kevin Koltzau <kevin@plop.org>
# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-kde/synce-kde-0.6.1.ebuild,v 1.6 2004/07/06 12:38:59 carlo Exp $

inherit kde

AGVER="agsync-0.2-pre"

DESCRIPTION="Synchronize Windows CE devices with computers running GNU/Linux, like MS ActiveSync. - KDE System Tray utility (formerly app-pda/rapip)"
HOMEPAGE="http://synce.sourceforge.net"
SRC_URI="mirror://sourceforge/synce/${P}.tar.gz
	avantgo? (http://www.mechlord.ca/%7Elownewulf/${AGVER}.tgz)"


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

DEPEND=">=app-pda/synce-0.8
	>=app-pda/synce-rra-0.8.9
	!app-pda/rapip"
RDEPEND=">=app-pda/synce-0.8
	>=app-pda/synce-rra-0.8.9"
need-kde 3.1

src_unpack() {
	kde_src_unpack

	# the default install location of iptables is /sbin/iptables
	cd ${S}/raki
	cp configdialogimpl.cpp configdialogimpl.cpp.orig
	sed "s:/usr/sbin/iptables:/sbin/iptables:" \
	configdialogimpl.cpp.orig > configdialogimpl.cpp
}

src_compile() {
	if use avantgo; then
		cd ${S}/../agsync-0.2-pre
		emake
		cd ${S}
		myconf="$myconf --with-agsync=${S}/../${AGVER}"
	fi
	kde_src_compile
}