summaryrefslogtreecommitdiff
blob: e37981ea46d0f9f61fea1e55b45a77ccd2281d54 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdepim-wizards/kdepim-wizards-3.5.10.ebuild,v 1.5 2009/06/18 05:24:49 jer Exp $

KMNAME=kdepim
KMMODULE=wizards
EAPI="1"
inherit kde-meta eutils

DESCRIPTION="KDEPIM wizards"
KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd"
IUSE=""
DEPEND=">=kde-base/libkdepim-${PV}:${SLOT}
>=kde-base/libkmime-${PV}:${SLOT}
>=kde-base/libkcal-${PV}:${SLOT}
>=kde-base/certmanager-${PV}:${SLOT}
>=kde-base/kdepim-kresources-${PV}:${SLOT}
>=kde-base/libkpimidentities-${PV}:${SLOT}
>=kde-base/kaddressbook-${PV}:${SLOT}"

#RESTRICT="test"

KMCOPYLIB="
	libkcal libkcal
	libkmime libkmime
	libkdepim libkdepim
	libkpimidentities libkpimidentities
	libkabc_xmlrpc kresources/egroupware
	libkcal_xmlrpc kresources/egroupware
	libknotes_xmlrpc kresources/egroupware
	libkcal_slox kresources/slox
	libkabc_slox kresources/slox
	libkcal_groupwise kresources/groupwise
	libkabc_groupwise kresources/groupwise
	libkcalkolab kresources/kolab/kcal
	libkabckolab kresources/kolab/kabc
	libknoteskolab kresources/kolab/knotes
	libkcal_newexchange kresources/newexchange
	libkabc_newexchange kresources/newexchange
	libkabcscalix kresources/scalix/kabc
	libkcalscalix kresources/scalix/kcal
	libknotesscalix kresources/scalix/knotes"

KMEXTRACTONLY="
	libkdepim/
	libkcal/
	libkpimidentities/
	kresources/
	knotes/
	certmanager/lib/
	kmail
	libkmime/kmime_util.h"

KMCOMPILEONLY="kresources/slox
		kresources/groupwise
		kresources/egroupware
		kresources/lib
		libemailfunctions"

src_compile() {
	export DO_NOT_COMPILE="kresources" && kde-meta_src_compile myconf configure

	# generate headers
	cd "${S}/kresources/slox" && make kabcsloxprefs.h
	cd "${S}/kresources/slox" && make kcalsloxprefs.h
	cd "${S}/kresources/groupwise" && make kabc_groupwiseprefs.h
	cd "${S}/kresources/groupwise" && make kcal_groupwiseprefsbase.h
	cd "${S}/kresources/egroupware" && make kcal_egroupwareprefs.h
	cd "${S}/kresources/egroupware" && make kabc_egroupwareprefs.h
	cd "${S}/kresources/egroupware" && make knotes_egroupwareprefs.h
	cd "${S}/kresources/lib" && make kresources_groupwareprefs.h

	kde-meta_src_compile make
}