summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/egroupware/egroupware-1.0.0.007-r1.ebuild')
-rw-r--r--www-apps/egroupware/egroupware-1.0.0.007-r1.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/www-apps/egroupware/egroupware-1.0.0.007-r1.ebuild b/www-apps/egroupware/egroupware-1.0.0.007-r1.ebuild
new file mode 100644
index 000000000000..cf9112d0db14
--- /dev/null
+++ b/www-apps/egroupware/egroupware-1.0.0.007-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/egroupware/egroupware-1.0.0.007-r1.ebuild,v 1.1 2005/07/06 00:00:48 stuart Exp $
+
+inherit webapp eutils
+
+MY_P=eGroupWare-${PV}-2
+S=${WORKDIR}/${PN}
+
+DESCRIPTION="Web-based GroupWare suite. It contains many modules"
+HOMEPAGE="http://www.eGroupWare.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~alpha ~amd64 ~sparc ~hppa"
+IUSE="ldap"
+
+RDEPEND="virtual/php
+ || ( >=dev-db/mysql-3.23 >=dev-db/postgresql-7.2 )
+ ldap? ( net-nds/openldap )
+ net-www/apache"
+
+pkg_setup () {
+ webapp_pkg_setup
+ einfo "Please make sure that your PHP is compiled with LDAP (if using openldap), IMAP, and MySQL|PostgreSQL support"
+ einfo
+ einfo "Consider installing an MTA if you want to take advantage of eGW's mail capabilities."
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+# epatch ${FILESDIR}/${PN}-1.0.0.007-xmlrpc.patch
+}
+
+src_install() {
+ webapp_src_preinst
+ cd ${S}
+ # remove CVS directories
+ find . -type d -name 'CVS' -print | xargs rm -rf
+ cp -r . ${D}/${MY_HTDOCSDIR}
+
+ webapp_serverowned ${MY_HTDOCSDIR}/fudforum
+ webapp_serverowned ${MY_HTDOCSDIR}/phpgwapi/images
+
+ # add post-installation instructions
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+
+ webapp_src_install
+}