mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/2ping: Add SlackBuild to doc dir.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d1d3252b0c
commit
5f699a8b0e
1 changed files with 8 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue