summaryrefslogtreecommitdiff
blob: 6d1c99779ff0f0abfdfccf5a0677bffe4684a8ec (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix-frontend/zabbix-frontend-1.1_alpha7.ebuild,v 1.1 2005/04/26 22:17:42 iggy Exp $

inherit eutils webapp

MY_P=${PN//-frontend/}
MY_PV=${PV//_/}
DESCRIPTION="Zabbix php frontend"

HOMEPAGE="http://zabbix.com/"
SRC_URI="mirror://sourceforge/zabbix/${MY_P}-${MY_PV}.tar.gz"

LICENSE="GPL-2"

KEYWORDS="~x86 ~sparc ~amd64"

RDEPEND="virtual/php"

S=${WORKDIR}/${MY_P}-${MY_PV}/frontends

src_install() {
	webapp_src_preinst

	cp -R php/* "${D}/${MY_HTDOCSDIR}"

	webapp_src_install
}

pkg_postinst(){
	einfo ""
	einfo "For setting the SQL server settings, see include/db.inc.php"
	einfo ""
}