wok-6.x view muninlite/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 | |
children | bb009a6ef036 |
line source
1 # SliTaz package receipt.
3 PACKAGE="muninlite"
4 VERSION="1.0.4"
5 CATEGORY="network"
6 SHORT_DESC="Simple Munin node."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://$PACKAGE.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 BUILD_DEPENDS="perl"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin
25 cp -a $src/munin-node $fs/usr/bin
26 }
28 # Pre and post install commands for Tazpkg.
29 post_install()
30 {
31 grep -q 4949 $1/etc/services ||
32 echo "munin 4949/tcp" >> $1/etc/services
33 grep -q ^munin $1/etc/inetd.conf || cat >> $1/etc/inetd.conf <<EOT
34 munin stream tcp nowait root /usr/bin/munin-node
35 EOT
36 echo "/etc/inetd.conf is up to date"
37 }