33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'icinga2'
|
|
pkgname=icinga2
|
|
version=2.5.4
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc
|
|
-DCMAKE_INSTALL_LOCALSTATEDIR=/var -DICINGA2_RUNDIR=/run
|
|
-DICINGA2_PLUGINDIR=/usr/lib/monitoring-plugins/"
|
|
hostmakedepends="flex git"
|
|
makedepends="libressl-devel boost-devel libmysqlclient-devel libedit-devel
|
|
yajl-devel postgresql-libs-devel"
|
|
depends="monitoring-plugins"
|
|
conf_files="/etc/$pkgname/*.conf
|
|
/etc/$pkgname/conf.d/*.conf
|
|
/etc/$pkgname/features-available/*.conf"
|
|
short_desc="A scalable and extensible monitoring system"
|
|
maintainer="Corné Oppelaar <hello@eaterofco.de>"
|
|
license="GPL-2"
|
|
homepage="https://www.icinga.org/"
|
|
distfiles="https://github.com/Icinga/icinga2/archive/v${version}.tar.gz"
|
|
checksum=f22ca17cd9951598ab6a1bc27c1ef82b9f1bb49795f69066ccd4d499faa240fc
|
|
|
|
nocross="https://build.voidlinux.eu/builders/armv7l_builder/builds/25979/steps/shell_3/logs/stdio"
|
|
|
|
system_accounts="icinga"
|
|
system_groups="icingacmd"
|
|
icinga_groups="icingacmd"
|
|
|
|
post_install() {
|
|
vsv icinga2
|
|
# remove useless files
|
|
rm -rf ${DESTDIR}/etc/{init.d,sysconfig}
|
|
}
|