mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-07 20:27:02 +01:00
system/atop: Add man page.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d6653a87e9
commit
be2821064c
1 changed files with 3 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
|||
|
||||
PRGNAM=atop
|
||||
VERSION=${VERSION:-2.3.0}
|
||||
BUILD=${BUILD:-2}
|
||||
BUILD=${BUILD:-3}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -83,10 +83,11 @@ touch $PKG/var/log/atop/dummy_{before,after}
|
|||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/man/man{1,5}
|
||||
mkdir -p $PKG/usr/man/man{1,5,8}
|
||||
gzip -9c man/atop.1 > $PKG/usr/man/man1/atop.1.gz
|
||||
gzip -9c man/atopsar.1 > $PKG/usr/man/man1/atopsar.1.gz
|
||||
gzip -9c man/atoprc.5 > $PKG/usr/man/man5/atoprc.5.gz
|
||||
gzip -9c man/atopacctd.8 > $PKG/usr/man/man8/atopacctd.8.gz
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a [A-Z][A-Z]* ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
Loading…
Reference in a new issue