wok-6.x view mk-livestatus/receipt @ rev 13025

clucene-dev, clucene, drupal, fcitx-skin-default, fcitx-zm, gejengel, hd2u, input-utils, jdk6-jaf, jdk6-jaxp, jdk6-jaxws, kismet, libedit-dev, libedit, linux-module-headers, linux-ocfs2, linux-staging, linux64-ocfs2, linux64-staging, menu-railroad, nfs-utils, ode-dev, openjdk-6-src, runcom, talloc-python, vlc-plugin, xorg-xf86-video-neomagic: fix maintainer
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 11 17:36:31 2012 +0200 (2012-06-11)
parents 7a28450bc868
children 2a2adc3727af
line source
1 # SliTaz package receipt.
3 PACKAGE="mk-livestatus"
4 VERSION="1.1.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="Nagios status broker module"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="nagios"
9 BUILD_DEPENDS="nagios-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://mathias-kettner.de/checkmk_livestatus.html"
12 WGET_URL="http://mathias-kettner.de/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure && \
19 make && make -j1 install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 }
30 post_install()
31 {
32 echo "Processing post-install commands..."
33 # Modify nagios config
34 cat <<EOT>> $1/etc/nagios/nagios.cfg
35 broker_module=/usr/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live
36 event_broker_options=-1
37 EOT
38 }