From e282f8d7f7641a8a153586985d16c4b8df93b088 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sun, 8 Dec 2013 09:06:08 +0700 Subject: system/hwinfo: Updated for version 20.1. Signed-off-by: Willy Sudiarto Raharjo --- system/hwinfo/hwinfo.SlackBuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'system/hwinfo/hwinfo.SlackBuild') 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 -- cgit v1.2.3