blob: 837e1adf34fa44d9793e513a2d2f220de05b6da8 (
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
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Grant Goodyear <g2boojum@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-mail/squirrelmail/squirrelmail-1.2.6-r1.ebuild,v 1.1 2002/06/12 19:27:53 g2boojum Exp $
S=${WORKDIR}/${P}
HTTPD_ROOT="/home/httpd/htdocs"
HTTPD_USER="apache"
DESCRIPTION="Webmail for nuts!"
SRC_URI="http://prdownloads.sf.net/${PN}/${P}.tar.bz2"
HOMEPAGE="http://www.squirrelmail.org"
DEPEND="dev-lang/php
net-www/apache"
RDEPEND="virtual/imapd"
src_compile() {
#nothing to compile
echo "Nothing to compile"
}
src_install () {
dodir ${HTTPD_ROOT}/${P}
dosym ${HTTPD_ROOT}/${P} ${HTTPD_ROOT}/${PN}
cp -r . ${D}/${HTTPD_ROOT}/${P}
cd ${D}/${HTTPD_ROOT}
chown -R ${HTTPD_USER}.${HTTPD_USER} ${P}
}
pkg_postinst() {
einfo
einfo "Squirrelmail requires PHP to have 'register_globals = On'"
einfo "Please edit /etc/php4/php.ini."
einfo
}
|