summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/wipe/wipe.SlackBuild9
1 files changed, 1 insertions, 8 deletions
diff --git a/system/wipe/wipe.SlackBuild b/system/wipe/wipe.SlackBuild
index 684e6fd6ac..68895363e9 100644
--- a/system/wipe/wipe.SlackBuild
+++ b/system/wipe/wipe.SlackBuild
@@ -76,24 +76,17 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
+make install prefix=$PKG/usr mandir=$PKG/usr/man
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 wipe.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 wipe $PKG/usr/bin
-
DOCS="CHANGES copyright INSTALL LICENSE README TESTING TODO"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION