From 33040e4da62864f3e6fca8e88f58ba214f3ae61f Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sat, 28 May 2016 20:28:41 +0100 Subject: system/wipe: Fixed install paths. Signed-off-by: David Spencer --- system/wipe/wipe.SlackBuild | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'system/wipe') diff --git a/system/wipe/wipe.SlackBuild b/system/wipe/wipe.SlackBuild index 684e6fd6acd76..68895363e99f8 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 -- cgit v1.2.3