summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2007-02-12 01:01:01 +0000
committerWolfram Schlich <wschlich@gentoo.org>2007-02-12 01:01:01 +0000
commit427341ab894fae4e41561d33bfc269af92fa5ae9 (patch)
tree2d81c6a39eac83eefba446d6bec7223ea2c9e6de /net-analyzer/zabbix-frontend/zabbix-frontend-1.1.6.ebuild
parentfix SRC_URI due to vanished download servers (diff)
downloadgentoo-2-427341ab894fae4e41561d33bfc269af92fa5ae9.tar.gz
gentoo-2-427341ab894fae4e41561d33bfc269af92fa5ae9.tar.bz2
gentoo-2-427341ab894fae4e41561d33bfc269af92fa5ae9.zip
version bump
(Portage version: 2.1.2)
Diffstat (limited to 'net-analyzer/zabbix-frontend/zabbix-frontend-1.1.6.ebuild')
-rw-r--r--net-analyzer/zabbix-frontend/zabbix-frontend-1.1.6.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/net-analyzer/zabbix-frontend/zabbix-frontend-1.1.6.ebuild b/net-analyzer/zabbix-frontend/zabbix-frontend-1.1.6.ebuild
new file mode 100644
index 000000000000..5f0134f79077
--- /dev/null
+++ b/net-analyzer/zabbix-frontend/zabbix-frontend-1.1.6.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2007 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.6.ebuild,v 1.1 2007/02/12 01:01:01 wschlich Exp $
+
+inherit eutils webapp depend.php
+
+MY_P=${PN//-frontend/}
+MY_PV=${PV//_/}
+DESCRIPTION="Zabbix PHP web-frontend"
+
+HOMEPAGE="http://www.zabbix.com/"
+SRC_URI="mirror://sourceforge/zabbix/${MY_P}-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+need_php_httpd
+
+S=${WORKDIR}/${MY_P}-${MY_PV}/frontends
+
+pkg_setup() {
+ webapp_pkg_setup
+ require_gd
+}
+
+src_install() {
+ webapp_src_preinst
+ cp -R php/* "${D}/${MY_HTDOCSDIR}"
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en-${MY_PV}.txt
+ webapp_configfile ${MY_HTDOCSDIR}/include/db.inc.php
+ webapp_src_install
+}