summaryrefslogtreecommitdiff
path: root/system/munin-node
diff options
context:
space:
mode:
Diffstat (limited to 'system/munin-node')
-rw-r--r--system/munin-node/munin-node.SlackBuild14
1 files changed, 13 insertions, 1 deletions
diff --git a/system/munin-node/munin-node.SlackBuild b/system/munin-node/munin-node.SlackBuild
index b0ba1a44c6..e22ed5cd90 100644
--- a/system/munin-node/munin-node.SlackBuild
+++ b/system/munin-node/munin-node.SlackBuild
@@ -9,6 +9,10 @@
# glitch@glitchwrks.com
# All rights reserved.
+# 20220212 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - add a documentation directory (/usr/doc/$PRGNAM-$VERSION).
+# - add the SlackBuild to the doc dir.
+
# 20220212 bkw: Modified by SlackBuilds.org:
# - fix download URL.
# - add missing dependencies to REQUIRES.
@@ -20,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=munin-node
VERSION=${VERSION:-2.0.25}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH="noarch"
@@ -71,6 +75,14 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mv $PKG/usr/local/share/ $PKG/usr/
rm -rf $PKG/usr/local
+# 20220426 bkw: docs, please.
+# TODO: maintainer, you should figure out to build the HTML docs using
+# the RST source in the doc/ dir, and include those in the package.
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a COPYING ChangeLog HACKING.pod README UPGRADING* authors $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
+
# move config files to .new
cd $PKG/etc/munin
for file in $(find . -type f); do