diff options
Diffstat (limited to 'system/hwinfo/hwinfo.SlackBuild')
-rw-r--r-- | system/hwinfo/hwinfo.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/system/hwinfo/hwinfo.SlackBuild b/system/hwinfo/hwinfo.SlackBuild index 3e8ae115d4..3cf08de36b 100644 --- a/system/hwinfo/hwinfo.SlackBuild +++ b/system/hwinfo/hwinfo.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for hwinfo -# Copyright 2009-2012 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2009-2013 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hwinfo -VERSION=20.0 +VERSION=20.1 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -82,14 +82,18 @@ make install \ LIBDIR=/usr/lib$LIBDIRSUFFIX \ DESTDIR=$PKG -mkdir -p $PKG/usr/man/man8 +mkdir -p $PKG/usr/man/{man1,man8} install -m 644 doc/hwinfo.8 $PKG/usr/man/man8/ +install -m 644 doc/*.1 $PKG/usr/man/man1/ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; +# remove unused directory +rm -rf $PKG/sbin + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a changelog COPYING MAINTAINER README VERSION \ $PKG/usr/doc/$PRGNAM-$VERSION |