wok annotate mk-livestatus/receipt @ rev 22258

updated xorg-xeyes (1.1.1 -> 1.1.2)
author Hans-G?nter Theisgen
date Tue Nov 12 17:28:45 2019 +0100 (2019-11-12)
parents 63f065bf57f8
children 34e801e0eb52
rev   line source
erjo@8698 1 # SliTaz package receipt.
erjo@8698 2
erjo@8698 3 PACKAGE="mk-livestatus"
Hans-G?nter@21448 4 VERSION="1.2.8p25"
erjo@8698 5 CATEGORY="system-tools"
Hans-G?nter@21448 6 SHORT_DESC="Nagios status broker module."
erjo@8698 7 MAINTAINER="erjo@slitaz.org"
pascal@15611 8 LICENSE="GPL2"
Hans-G?nter@21448 9 WEB_SITE="https://mathias-kettner.de/cms_livestatus.html"
Hans-G?nter@21448 10
erjo@8698 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20671 12 WGET_URL="https://mathias-kettner.de/download/$TARBALL"
erjo@8698 13
pascal@15611 14 DEPENDS="nagios"
Hans-G?nter@21453 15 BUILD_DEPENDS="gcc83 nagios-dev"
pascal@15611 16
erjo@8698 17 # Rules to configure and make the package.
erjo@8698 18 compile_rules()
erjo@8698 19 {
Hans-G?nter@21461 20 export CC=gcc-83
Hans-G?nter@21461 21 export CXX=g++-83
Hans-G?nter@21448 22
pascal@14465 23 ./configure &&
Hans-G?nter@21448 24 make -j1 &&
Hans-G?nter@21448 25 make -j1 install
erjo@8698 26 }
erjo@8698 27
erjo@8698 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@8698 29 genpkg_rules()
erjo@8698 30 {
erjo@8698 31 mkdir -p $fs/usr
Hans-G?nter@21448 32
Hans-G?nter@21448 33 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21448 34 cp -a $install/usr/lib $fs/usr
erjo@8698 35 }
erjo@8698 36
erjo@8698 37 post_install()
erjo@8698 38 {
Hans-G?nter@21448 39 # Modify nagios configuration
al@18741 40 cat >> "$1/etc/nagios/nagios.cfg" <<EOT
erjo@8698 41 broker_module=/usr/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live
erjo@8698 42 event_broker_options=-1
erjo@8698 43 EOT
erjo@8698 44 }