wok-next view muninlite/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents b278b2018965
children
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://muninlite.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="perl"
16 compile_rules() {
17 make &&
18 install -Dm755 $src/munin-node $install/usr/bin/munin-node
19 }
21 genpkg_rules() {
22 copy @std
23 }
25 post_install() {
26 grep -q 4949 "$1/etc/services" ||
27 echo "munin 4949/tcp" >> "$1/etc/services"
28 grep -q ^munin "$1/etc/inetd.conf" || cat >> "$1/etc/inetd.conf" <<EOT
29 munin stream tcp nowait root /usr/bin/munin-node
30 EOT
31 echo "/etc/inetd.conf is up to date"
32 }