wok-next view mk-livestatus/receipt @ rev 21680
updated gf2x (1.2 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 14:15:30 2020 +0100 (2020-06-29) |
parents | 306a4f258013 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mk-livestatus"
4 VERSION="1.2.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Nagios status broker module"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://mathias-kettner.de/checkmk_livestatus.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://mathias-kettner.de/download/$TARBALL"
14 BUILD_DEPENDS="nagios-dev"
16 compile_rules() {
17 ./configure &&
18 make &&
19 make -j1 install
20 }
22 genpkg_rules() {
23 copy @std
24 DEPENDS="nagios"
25 }
27 post_install() {
28 # Modify nagios config
29 cat >> "$1/etc/nagios/nagios.cfg" <<EOT
30 broker_module=/usr/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live
31 event_broker_options=-1
32 EOT
33 }