diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-05 15:34:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-05 15:43:07 +0000 |
commit | 085a871b27345edc38d88b0fff6b1b6e85a7da30 (patch) | |
tree | 54048ace71fe3940bdf8b1c2eeefbca743bf3251 /main/zabbix | |
parent | a35f957f8394db40f71903db44cfe6f380e71b20 (diff) | |
download | aports-085a871b27345edc38d88b0fff6b1b6e85a7da30.tar.bz2 aports-085a871b27345edc38d88b0fff6b1b6e85a7da30.tar.xz |
main/zabbix: php renamed to php5
also make sure that php gets built before zabbix due to the dependency
in subpackage.
Diffstat (limited to 'main/zabbix')
-rw-r--r-- | main/zabbix/APKBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/main/zabbix/APKBUILD b/main/zabbix/APKBUILD index 8d48a2673c..fe0e33b80d 100644 --- a/main/zabbix/APKBUILD +++ b/main/zabbix/APKBUILD @@ -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" |