aboutsummaryrefslogtreecommitdiff
path: root/system/secure-delete
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2015-07-05 08:14:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-07-05 08:14:49 +0700
commit816111555f6f825f226f82430a2180bd555cd124 (patch)
tree62ebf90022638f2555eee3d381fcde4eec5487a9 /system/secure-delete
parentcf21498d7c865959dbb9729bf72f5923739bb1fa (diff)
system/secure-delete: Added man pages.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/secure-delete')
-rw-r--r--system/secure-delete/secure-delete.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/system/secure-delete/secure-delete.SlackBuild b/system/secure-delete/secure-delete.SlackBuild
index 41c0a38b0838b..ce13c91cfde00 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