aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-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 1f8ff67dedb29..3e5691a052b5b 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 f798a749304df..a8a9e60f0c19c 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 1c9e01722081a..c9f059880dddd 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"