blob: 935f298307416cb05ee9cae8f43ce4f3b668c0af (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit perl-module
MY_PV=${PV/_alpha/+cvs}
DESCRIPTION="Perl modules and scripts for the Kolab groupware server"
HOMEPAGE="http://www.kolab.org"
SRC_URI="http://files.pardus.de/kolab-sources/${PN}-${MY_PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
IUSE=""
SLOT="0"
DEPEND="dev-lang/perl
perl-core/DB_File
>=net-mail/cyrus-imap-admin-2.3.12
dev-perl/perl-ldap
dev-perl/MIME-tools
dev-perl/MIME-Lite
dev-perl/Mail-IMAPClient
dev-perl/URI"
S=${WORKDIR}/${PN}-${MY_PV}
src_compile() {
myconf="--config=/etc/kolab"
myconf="${myconf} --bin=\"${ROOT}/usr/bin\""
perl-module_src_compile
}
src_install() {
cd "${S}"
dodir /etc/kolab
insinto /etc/kolab
doins data/quotawarning.txt
dodir /etc/init.d
exeinto /etc/init.d
doexe ${FILESDIR}/kolabd
perl-module_src_install
dodir /usr/sbin
mv "${D}"/usr/bin/kolabd "${D}"/usr/sbin/kolabd
mv "${D}"/usr/bin/kolabcheckperm "${D}"/usr/sbin/kolabcheckperm
rm "${D}"/usr/bin/kolabconf
rm "${D}"/usr/bin/kolab_bootstrap
keepdir /var/run/kolabd
}
|