wok view muninlite/receipt @ rev 17992

Add few descriptions (from pkgs.org)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 23 16:47:39 2015 +0300 (2015-04-23)
parents 1311ba9fe4bf
children 9e01bc6321ea
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 BUILD_DEPENDS="perl"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp -a $src/munin-node $fs/usr/bin
27 }
29 # Pre and post install commands for Tazpkg.
30 post_install()
31 {
32 grep -q 4949 $1/etc/services ||
33 echo "munin 4949/tcp" >> $1/etc/services
34 grep -q ^munin $1/etc/inetd.conf || cat >> $1/etc/inetd.conf <<EOT
35 munin stream tcp nowait root /usr/bin/munin-node
36 EOT
37 echo "/etc/inetd.conf is up to date"
38 }