/[gentoo-x86]/www-apps/sugarcrm/sugarcrm-6.4.0.ebuild
Gentoo

Contents of /www-apps/sugarcrm/sugarcrm-6.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Feb 25 14:29:50 2012 UTC (2 years, 4 months ago) by maksbotan
Branch: MAIN
Add www-apps/sugarcrm, bug #103295. Thanks to slepnoga

(Portage version: 2.1.10.48/cvs/Linux x86_64)

1 maksbotan 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: slepnoga v1.2-no_additions $
4    
5     EAPI="2"
6    
7     MY_PN="SugarCE"
8    
9     inherit webapp eutils
10    
11     DESCRIPTION="A complete CRM and groupware system for businesses of all sizes."
12     HOMEPAGE="http://www.sugarforge.org/"
13     SRC_URI="http://www.sugarforge.org/frs/download.php/8838/${MY_PN}-${PV}.zip"
14    
15     LICENSE="GPL-3"
16     KEYWORDS="~amd64 ~x86"
17     IUSE="curl imap +json +zlib +mysql +mysqli freetds ldap mssql"
18    
19     DEPEND=">=dev-lang/php-5.2.10[ssl,soap,unicode,xml,session,tokenizer,ldap?,mssql?,mysql?,mysqli?,zlib?,curl?,imap?,json?]
20     dev-php/PEAR-DB
21     dev-php/PEAR-Cache_Lite
22     dev-php/PEAR-Mail_Mime
23     virtual/httpd-cgi
24     freetds? ( >=dev-db/freetds-0.64
25     mssql? ( >=dev-db/freetds-0.64[mssql] ) )
26     app-arch/unzip"
27    
28     RDEPEND="${DEPEND}"
29    
30     S="${WORKDIR}/${MY_PN}-Full-${PV}"
31    
32     src_install () {
33     webapp_src_preinst
34    
35     cd "${S}"
36     einfo "Installing main files"
37     cp -R . "${D}/${MY_HTDOCSDIR}"
38    
39     webapp_configfile "${MY_HTDOCSDIR}"/config.php
40     webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
41    
42     for foo in cache custom data modules include ; do
43     webapp_serverowned -R "${MY_HTDOCSDIR}"/"${foo}" || die
44    
45     done
46    
47     webapp_serverowned "${MY_HTDOCSDIR}"/config.php
48    
49     elog "Please make adjustment of your php.ini or .htaccess file"
50     elog "Change value \"session.path = \" according to your desire"
51     elog "Files of sessions are stored in this directory"
52     elog "For more info see http://developers.sugarcrm.com/documentation.php"
53    
54     webapp_postinst_txt en "${FILESDIR}/"postinstall-en.txt
55     webapp_src_install
56     }

  ViewVC Help
Powered by ViewVC 1.1.20