From 816111555f6f825f226f82430a2180bd555cd124 Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Sun, 5 Jul 2015 08:14:49 +0700 Subject: system/secure-delete: Added man pages. Signed-off-by: Willy Sudiarto Raharjo --- system/secure-delete/secure-delete.SlackBuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'system') diff --git a/system/secure-delete/secure-delete.SlackBuild b/system/secure-delete/secure-delete.SlackBuild index 41c0a38b08..ce13c91cfd 100644 --- a/system/secure-delete/secure-delete.SlackBuild +++ b/system/secure-delete/secure-delete.SlackBuild @@ -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 -- cgit v1.2.3