wok view muninlite/receipt @ rev 22420
these 3 packages seem not used in xfce4 v4.12, so reverting to last version in slitaz: 4.10.0: libxfcegui4 libxfcegui4-dev xfce4-mixer
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Dec 15 09:01:23 2019 +0000 (2019-12-15) |
parents | bb009a6ef036 |
children | afae00265386 |
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 }