blob: fc89c9d4bdd3243e6208f9c59258d58ff21e3e4c (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit webapp
DESCRIPTION="AeroMail is a web-based e-mail client written in PHP which uses an
IMAP server as backend"
HOMEPAGE="http://www.nicolaas.net/aeromail/"
SRC_URI="http://www.nicolaas.net/aeromail/am241.tgz"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND="net-www/apache
>=virtual/php-4"
## NOTES
# This requires register_globals on but does not mention it anywhere.
# Also needs a check for the IMAP features of php.
src_unpack() {
mkdir ${S}
cd ${S}
unpack ${A}
touch config.inc.php || die "failed creating empty config file"
}
src_install() {
webapp_src_preinst
dodoc features readme changes || die "dodoc failed"
cp -a * ${D}/${MY_HTDOCSDIR} || die "failed main copy"
rm -f ${D}/${MY_HTDOCSDIR}/{features,readme,changes,license} || die "failed removing information files"
webapp_serverowned ${MY_HTDOCSDIR}/config.inc.php || die "failed serverowning"
webapp_src_install
}
|