diff options
author | David Spencer <baildon.research@googlemail.com> | 2016-05-28 20:28:41 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-05-29 09:43:06 +0700 |
commit | 33040e4da62864f3e6fca8e88f58ba214f3ae61f (patch) | |
tree | 11e6a8d38b138453dfd5ab081e8a5b71443a600c | |
parent | 5989450978ef4c53c1b3bb36247856118d0c4b31 (diff) | |
download | slackbuilds-33040e4da62864f3e6fca8e88f58ba214f3ae61f.tar.gz |
system/wipe: Fixed install paths.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
-rw-r--r-- | system/wipe/wipe.SlackBuild | 9 |
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 |