summaryrefslogtreecommitdiff
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
parentb25f8c50143fc3997e4ecf60a409a1f5d381fee9 (diff)
downloadslackbuilds-e282f8d7f7641a8a153586985d16c4b8df93b088.tar.gz
system/hwinfo: Updated for version 20.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/hwinfo/hwinfo.SlackBuild10
-rw-r--r--system/hwinfo/hwinfo.info6
2 files changed, 10 insertions, 6 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
diff --git a/system/hwinfo/hwinfo.info b/system/hwinfo/hwinfo.info
index bb3b9d2eda..31f44612c6 100644
--- a/system/hwinfo/hwinfo.info
+++ b/system/hwinfo/hwinfo.info
@@ -1,8 +1,8 @@
PRGNAM="hwinfo"
-VERSION="20.0"
+VERSION="20.1"
HOMEPAGE="http://gitorious.org/opensuse/hwinfo"
-DOWNLOAD="http://www.liwjatan.at/files/src/hwinfo/hwinfo-20.0.tar.xz"
-MD5SUM="680669ce18caf4d90f452659920fa5d8"
+DOWNLOAD="http://www.liwjatan.at/files/src/hwinfo/hwinfo-20.1.tar.xz"
+MD5SUM="4e2add24d468fe9d754ac5e48dd58dcc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libx86emu"