summaryrefslogtreecommitdiff
blob: 816a7d974d1a1c425c09d4a6ca1b353bbb7d4629 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/kmobiletools/kmobiletools-0.5_pre20060424.ebuild,v 1.3 2006/06/07 19:51:09 flameeyes Exp $

inherit kde

SVNDATE="${PV#*pre}"
SVNNAME="svn-${SVNDATE:0:4}-${SVNDATE:4:2}-${SVNDATE:6:2}"

DESCRIPTION="KMobiletools is a KDE-based application that allows to control mobile phones with your PC."
SRC_URI="http://xoomer.virgilio.it/rockman81/kmobiletools/${PN}-${SVNNAME}.tar.bz2"
HOMEPAGE="http://www.kmobiletools.org/"
LICENSE="GPL-2"

IUSE="kde"
KEYWORDS="~amd64 ~ppc ~x86"

DEPEND="kde? ( kde-base/libkcal
	kde-base/kontact )"

S="${WORKDIR}/svn-${PN}"

need-kde 3.3

src_compile() {
	myconf="${myconf} $(use_enable kde libkcal)
		$(use_enable kde kontact-plugin)"

	kde_src_compile
}