wok-next view muninlite/receipt @ rev 20856

Update libfm-extra, menu-cache, libfm, pcmanfm
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 26 17:13:37 2018 +0300 (2018-06-26)
parents 9e01bc6321ea
children d5aab818505e
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://$PACKAGE.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 -Dm 755 $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 }