summaryrefslogtreecommitdiff
path: root/system/hwinfo/hwinfo.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2013-12-08 09:06:08 +0700
committerErik Hanson <erik@slackbuilds.org>2013-12-14 10:53:02 -0600
commite282f8d7f7641a8a153586985d16c4b8df93b088 (patch)
tree4aa177cff7207131aebf3b430a35676c977d14ef /system/hwinfo/hwinfo.SlackBuild
parentb25f8c50143fc3997e4ecf60a409a1f5d381fee9 (diff)
downloadslackbuilds-e282f8d7f7641a8a153586985d16c4b8df93b088.tar.gz
system/hwinfo: Updated for version 20.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/hwinfo/hwinfo.SlackBuild')
-rw-r--r--system/hwinfo/hwinfo.SlackBuild10
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