wok-current view muninlite/receipt @ rev 20098
mtpaint: rm unsupported gif in launcher, enable pcmanfm thumbnailer for largest pictures too
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Oct 07 18:33:42 2017 +0200 (2017-10-07) |
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 }