wok-next view muninlite/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
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 }