system/lshw: Updated for version B.02.17.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Glenn Becker 2014-05-22 09:27:37 +07:00 committed by Willy Sudiarto Raharjo
parent f29635a5d1
commit 112adccc8a
3 changed files with 9 additions and 14 deletions

View file

@ -7,4 +7,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

View file

@ -4,7 +4,7 @@
# Written by Iskar Enev <iskar.enev[@]gmail.com>
PRGNAM=lshw
VERSION=B.02.16
VERSION=${VERSION:-B.02.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -58,21 +58,17 @@ RPM_OPT_FLAGS="$SLKCFLAGS" MANDIR="/usr/man" make gui
make install DESTDIR=$PKG
make install-gui DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/share/applications
cat $CWD/gtk-lshw.desktop > $PKG/usr/share/applications/gtk-lshw.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
docs/* COPYING README \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs/* COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="lshw"
VERSION="B.02.16"
VERSION="B.02.17"
HOMEPAGE="http://ezix.org/project/wiki/HardwareLiSter"
DOWNLOAD="http://ezix.org/software/files/lshw-B.02.16.tar.gz"
MD5SUM="67479167add605e8f001097c30e96d0d"
DOWNLOAD="http://ezix.org/software/files/lshw-B.02.17.tar.gz"
MD5SUM="a5feb796cb302850eaf5b4530888e3ed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Glenn Becker"
EMAIL="burningc@sdf.lonestar.org"
EMAIL="burningc@sdf.org"