summaryrefslogtreecommitdiff
blob: edade88754c85fb0a9c5149010a9f96f410428de (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/phpsyslogng/phpsyslogng-2.8-r1.ebuild,v 1.3 2006/11/23 15:09:00 vivo Exp $

inherit webapp

DESCRIPTION="php-syslog-ng is a log monitor designed to easily manage logs from many hosts."
HOMEPAGE="http://www.phpwizardry.com/php-syslog-ng.php"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
SRC_URI="http://www.phpwizardry.com/php-syslog-ng/${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~ppc64 ~x86"
IUSE="mysql"

RDEPEND="virtual/httpd-php
		mysql? ( >=virtual/mysql-4.1 )"

src_install() {
	webapp_src_preinst

	dodoc README CHANGELOG
	rm LICENSE README CHANGELOG
	dodoc scripts/*

	cp -r . ${D}${MY_HTDOCSDIR}
	cp	${FILESDIR}/logrotate.php ${D}${MY_HTDOCSDIR}/scripts

	webapp_configfile ${MY_HTDOCSDIR}/config/config.php

	webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt

	webapp_src_install
}