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