summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/lshw/doinst.sh6
-rw-r--r--system/lshw/lshw.SlackBuild5
-rw-r--r--system/lshw/lshw.info6
3 files changed, 13 insertions, 4 deletions
diff --git a/system/lshw/doinst.sh b/system/lshw/doinst.sh
new file mode 100644
index 0000000000..355542bb84
--- /dev/null
+++ b/system/lshw/doinst.sh
@@ -0,0 +1,6 @@
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+
diff --git a/system/lshw/lshw.SlackBuild b/system/lshw/lshw.SlackBuild
index c2f2017712..8dcaa85c98 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.12.01
+VERSION=B.02.13
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -18,6 +18,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -58,6 +60,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/system/lshw/lshw.info b/system/lshw/lshw.info
index 1bc5aad38e..dd835a3086 100644
--- a/system/lshw/lshw.info
+++ b/system/lshw/lshw.info
@@ -1,8 +1,8 @@
PRGNAM="lshw"
-VERSION="B.02.12.01"
+VERSION="B.02.13"
HOMEPAGE="http://ezix.org/project/wiki/HardwareLiSter"
-DOWNLOAD="http://ezix.org/software/files/lshw-B.02.12.01.tar.gz"
-MD5SUM="7aeacdd0b86ae03acbc168d8ecdf6fd6"
+DOWNLOAD="http://ezix.org/software/files/lshw-B.02.13.tar.gz"
+MD5SUM="e94c728ed037ca706436b5ef71aa392d"
MAINTAINER="Iskar Enev"
EMAIL="<iskar.enev[@]gmail.com>"
APPROVED="rworkman"