system/hwinfo: Updated for version 20.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2013-12-08 09:06:08 +07:00 committed by Erik Hanson
parent b25f8c5014
commit e282f8d7f7
2 changed files with 10 additions and 6 deletions

View file

@ -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

View file

@ -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"