/[gentoo-x86]/www-apps/groupoffice/groupoffice-3.7.52.ebuild
Gentoo

Contents of /www-apps/groupoffice/groupoffice-3.7.52.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sun Jun 24 10:06:46 2012 UTC (2 years, 10 months ago) by mabi
Branch: MAIN
version bump. 4.0 is still beta, so use 3.7 in production. this is a security update (bug #361221). Also fixes bugs #332525, #285538, #417223.

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 mabi 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/www-apps/groupoffice/groupoffice-2.18.6.ebuild,v 1.4 2008/08/25 15:31:05 armin76 Exp $
4    
5     EAPI=4
6    
7     inherit webapp
8    
9     MY_P="${PN}-com-${PV}"
10     S="${WORKDIR}/${MY_P}"
11    
12     DESCRIPTION="Group-Office is a powerful modular Intranet application framework"
13     HOMEPAGE="http://group-office.sourceforge.net/"
14     SRC_URI="mirror://sourceforge/group-office/${MY_P}.tar.gz"
15    
16     LICENSE="AGPL-3"
17     KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
18     IUSE=""
19    
20     RDEPEND="app-arch/zip
21     app-arch/unzip
22     virtual/httpd-cgi
23     dev-lang/php[calendar,cli,curl,gd,imap,mysqli,zlib]"
24    
25     src_install() {
26     webapp_src_preinst
27    
28     local docs="CHANGELOG.TXT FAQ.TXT INSTALL.TXT"
29    
30     dodoc ${docs} RELEASE.TXT LICENSE.TXT
31    
32     cp -r . "${D}${MY_HTDOCSDIR}"
33     for doc in ${docs}; do
34     rm -f "${D}${MY_HTDOCSDIR}/${doc}"
35     done
36    
37     touch "${D}${MY_HTDOCSDIR}"/config.php
38     dodir "${MY_HOSTROOTDIR}/${P}"/userdata "${MY_HTDOCSDIR}"/local
39    
40     webapp_serverowned "${MY_HTDOCSDIR}"
41     webapp_serverowned -R "${MY_HOSTROOTDIR}/${P}"/userdata
42     webapp_serverowned "${MY_HTDOCSDIR}"/local
43     webapp_serverowned "${MY_HTDOCSDIR}"/config.php
44     webapp_configfile "${MY_HTDOCSDIR}"/config.php
45    
46     webapp_postinst_txt en "${FILESDIR}"/postinstall2-en.txt
47     webapp_src_install
48     }

  ViewVC Help
Powered by ViewVC 1.1.20