From 5f699a8b0ebd4a04ceaa1ed13bc79bb783f8292e Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 31 Mar 2022 11:16:26 -0400 Subject: [PATCH] network/2ping: Add SlackBuild to doc dir. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- network/2ping/2ping.SlackBuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/network/2ping/2ping.SlackBuild b/network/2ping/2ping.SlackBuild index 6a787069a3..34794b38d9 100644 --- a/network/2ping/2ping.SlackBuild +++ b/network/2ping/2ping.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20220331 bkw: BUILD=2, add SlackBuild to doc dir. # 20210911 bkw: update for v4.5.1. # 20200805 bkw: update for v4.5. # 20191130 bkw: update for v4.3. @@ -19,7 +20,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=2ping VERSION=${VERSION:-4.5.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -72,9 +73,12 @@ fi mkdir -p $PKG/usr/man/man1 gzip -9c < doc/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/wireshark -cp -a README* COPYING* ChangeLog* doc/*.py doc/*.md $PKG/usr/doc/$PRGNAM-$VERSION -cp -a wireshark/*.pcap $PKG/usr/doc/$PRGNAM-$VERSION/wireshark + +PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKGDOC/wireshark +cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild +cp -a README* COPYING* ChangeLog* doc/*.py doc/*.md $PKGDOC +cp -a wireshark/*.pcap $PKGDOC/wireshark mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc