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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Aug 10 20:15:17 2014 UTC (3 years, 11 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-apps/sugarcrm/sugarcrm-6.5.9.ebuild,v 1.1 2013/01/13 17:33:09 maksbotan Exp $
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="mirror://sourceforge/project/${PN}/1%20-%20SugarCRM%206.5.X/SugarCommunityEdition-6.5.X/SugarCE-${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