1 # Contributor: Enrico Morelli <morelli@cerm.unifi.it>
5 pkgdesc="Software for monitoring of your applications, network and servers."
7 url="http://www.zabbix.com"
9 install=(zabbix-agent.install)
10 source=(http://downloads.sourceforge.net/sourceforge/zabbix/zabbix-$pkgver.tar.gz zabbix_agent.conf zabbix_agentd.conf zabbix-agentd zabbix-agent.install)
12 md5sums=('8e38079640cf50c215f36dfd3125a6d3'
13 '9c20157a77b1ee4915265971f338fb41'
14 '9e2a08c7dc89dccf6f7b21a156360713'
15 'c1691c9feec203a051ad864227577c09'
16 'f36fddf29e295c2a7bd95ca1ce4320c7')
19 cd $startdir/src/zabbix-$pkgver
20 ./configure --prefix=/usr --enable-agent
22 make DESTDIR=$startdir/pkg install
23 install -d -m0750 $startdir/pkg/var/run/zabbix $startdir/pkg/var/log/zabbix
24 install -d $startdir/pkg/etc/zabbix
25 install -D -m0640 $startdir/src/zabbix_agent.conf $startdir/pkg/etc/zabbix/zabbix_agent.conf
26 install -D -m0640 $startdir/src/zabbix_agentd.conf $startdir/pkg/etc/zabbix/zabbix_agentd.conf
27 install -D -m0755 $startdir/src/zabbix-agentd $startdir/pkg/etc/rc.d/zabbix-agentd