summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2008-10-10 12:32:29 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2008-10-10 12:32:29 +0000
commite75a3681a6939e54bef7e7a988156a48431aaae8 (patch)
treea6f47d0bff2ed38641d67cf3c6ea9464d203941c
parentAnother update to perl-kolab. (diff)
downloadkolab-e75a3681a6939e54bef7e7a988156a48431aaae8.tar.gz
kolab-e75a3681a6939e54bef7e7a988156a48431aaae8.tar.bz2
kolab-e75a3681a6939e54bef7e7a988156a48431aaae8.zip
Add the updated ebuild.
svn path=/overlay/; revision=3007
-rw-r--r--dev-perl/perl-kolab/perl-kolab-2.2.0_alpha20081010.ebuild60
1 files changed, 60 insertions, 0 deletions
diff --git a/dev-perl/perl-kolab/perl-kolab-2.2.0_alpha20081010.ebuild b/dev-perl/perl-kolab/perl-kolab-2.2.0_alpha20081010.ebuild
new file mode 100644
index 0000000..7ba4a6d
--- /dev/null
+++ b/dev-perl/perl-kolab/perl-kolab-2.2.0_alpha20081010.ebuild
@@ -0,0 +1,60 @@
+# 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
+ keepdir /var/lib/kolabd
+}