summaryrefslogtreecommitdiff
blob: ec74caa13193d934f4eb0efa94a6f2b8d6fa0a53 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-kio-rapip/synce-kio-rapip-0.10.ebuild,v 1.2 2008/11/13 16:59:40 mescalinum Exp $

inherit eutils distutils

DESCRIPTION="SynCE - KDE kioslave for the SynCE RAPIP protocol"
HOMEPAGE="http://sourceforge.net/projects/synce/"
LICENSE="MIT"

IUSE="arts"
SLOT="0"
KEYWORDS="~x86 ~amd64"
RDEPEND="~app-pda/synce-libsynce-0.12
		~app-pda/synce-librapi2-0.12"
DEPEND="${RDEPEND}
	arts? ( kde-base/arts )"

#need-kde 3.2

SRC_URI="mirror://sourceforge/synce/${P}.tar.gz"

S="${WORKDIR}/synce-kio-rapip-${PV}"

src_compile() {
	econf $(use_with arts) || die
	emake || die
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc README TODO ChangeLog
}

pkg_postinst() {
	elog "To use, simply open Konqueror, Dolphin, or any other KIO-enabled file"
	elog "manager and type in rapip://DEVICENAME/ to the address bar. If you are"
	elog "not sure about the name of your device, simply go to rapip:/ which"
	elog "will show the first device it finds."
}