Commit 085a871b authored by Natanael Copa's avatar Natanael Copa
Browse files

main/zabbix: php renamed to php5

also make sure that php gets built before zabbix due to the dependency
in subpackage.
parent a35f957f
......@@ -4,15 +4,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=zabbix
pkgver=3.0.2
pkgrel=1
pkgrel=2
pkgdesc="Enterprise-class open source distributed monitoring"
url="http://www.zabbix.com"
arch="all"
license="GPL"
depends="fping"
_php=php5
_php_depends="$_php ${_php}-gd ${_php}-curl ${_php}-bcmath ${_php}-sockets
${_php}-iconv ${_php}-xmlreader ${_php}-ctype ${_php}-gettext"
makedepends="postgresql-dev curl-dev net-snmp-dev
sqlite-dev mariadb-dev curl-dev openipmi-dev unixodbc-dev
libxml2-dev autoconf automake libssh2 openssl-dev"
libxml2-dev autoconf automake libssh2 openssl-dev
$_php_depends"
install="$pkgname.pre-install"
pkgusers="zabbix"
pkggroups="zabbix"
......@@ -164,8 +168,7 @@ utils() {
webif() {
arch="noarch"
pkgdesc="Zabbix web-interface"
depends="php php-gd php-curl php-bcmath php-sockets php-iconv
php-xmlreader php-ctype php-gettext"
depends="$_php_depends"
_wwwdir="$subpkgdir"/usr/share/webapps/zabbix
mkdir -p $_wwwdir
mv "$_builddir"/frontends/php/* "$_wwwdir"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment