wok-next view muninlite/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
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 }