summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/horde-groupware/horde-groupware-1.0.5.ebuild')
-rw-r--r--www-apps/horde-groupware/horde-groupware-1.0.5.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/www-apps/horde-groupware/horde-groupware-1.0.5.ebuild b/www-apps/horde-groupware/horde-groupware-1.0.5.ebuild
new file mode 100644
index 000000000000..b61829faaf3e
--- /dev/null
+++ b/www-apps/horde-groupware/horde-groupware-1.0.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/horde-groupware/horde-groupware-1.0.5.ebuild,v 1.1 2008/03/09 10:30:08 vapier Exp $
+
+HORDE_PN="${PN}"
+inherit horde
+
+DESCRIPTION="Horde GroupWare"
+HOMEPAGE="http://www.horde.org/"
+
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="mysql postgres ldap oracle"
+
+DEPEND=""
+RDEPEND="!www-apps/horde
+ virtual/php
+ >=www-apps/horde-pear-1.3
+ dev-php/PEAR-Log
+ dev-php/PEAR-Mail_Mime
+ dev-php/PEAR-DB"
+
+pkg_setup() {
+ HORDE_PHP_FEATURES="
+ session xml nls crypt iconv gd ssl ftp
+ $(use ldap && echo ldap) $(use oracle && echo oci8)
+ $(use mysql && echo mysql mysqli) $(use postgres && echo postgres)
+ "
+ horde_pkg_setup
+}
+
+src_unpack() {
+ horde_src_unpack
+ cd "${S}"
+ chmod 600 scripts/sql/create.*.sql #137510
+}
+
+pkg_postinst() {
+ horde_pkg_postinst
+ elog "Horde requires PHP to have:"
+ elog " ==> 'short_open_tag enabled = On'"
+ elog " ==> 'magic_quotes_runtime set = Off'"
+ elog " ==> 'file_uploads enabled = On'"
+}