summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Glenn Becker <burningc@sdf.org>2014-05-22 09:27:37 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-22 09:27:37 +0700
commit112adccc8a3b531b32257dfcf3834ec805b37df9 (patch)
treecd5313eec1525f4d2837d95bd59dd37021587252
parentf29635a5d1d1dae1ebe17655f169cda0e0be7ee1 (diff)
downloadslackbuilds-112adccc8a3b531b32257dfcf3834ec805b37df9.tar.gz
slackbuilds-112adccc8a3b531b32257dfcf3834ec805b37df9.tar.xz
system/lshw: Updated for version B.02.17.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/lshw/doinst.sh1
-rw-r--r--system/lshw/lshw.SlackBuild14
-rw-r--r--system/lshw/lshw.info8
3 files changed, 9 insertions, 14 deletions
diff --git a/system/lshw/doinst.sh b/system/lshw/doinst.sh
index 1f8ff67ded..3e5691a052 100644
--- a/system/lshw/doinst.sh
+++ b/system/lshw/doinst.sh
@@ -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
-
diff --git a/system/lshw/lshw.SlackBuild b/system/lshw/lshw.SlackBuild
index f798a74930..a8a9e60f0c 100644
--- a/system/lshw/lshw.SlackBuild
+++ b/system/lshw/lshw.SlackBuild
@@ -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
diff --git a/system/lshw/lshw.info b/system/lshw/lshw.info
index 1c9e017220..c9f059880d 100644
--- a/system/lshw/lshw.info
+++ b/system/lshw/lshw.info
@@ -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"