system/secure-delete: Added man pages.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2015-07-05 08:14:49 +07:00 committed by Willy Sudiarto Raharjo
parent cf21498d7c
commit 816111555f

View file

@ -25,7 +25,7 @@
PRGNAM=secure-delete
SRCNAM=secure_delete
VERSION=${VERSION:-3.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -77,6 +77,12 @@ make prefix=/usr DESTDIR=$PKG
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/man1
cp -a sfill.1 smem.1 srm.1 sswap.1 $PKG/usr/man/man1
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/bin
cp -a sfill smem srm sswap $PKG/usr/bin