aboutsummaryrefslogtreecommitdiff
path: root/system/lshw
diff options
context:
space:
mode:
authorIskar Enev <iskar.enev[@]gmail.com>2010-05-11 22:26:46 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:26:46 +0200
commitda6032dd3990b797166c964e1d4ee10e7e5fc6e1 (patch)
tree08e2aa6d12ee25a1715ccb81ebb162d80b15147e /system/lshw
parenta122f30d92a17cf7467e6f4941c905704c769bc4 (diff)
system/lshw: Updated for version B.02.13
Diffstat (limited to 'system/lshw')
-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 000000000000..355542bb84e6
--- /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 c2f201771270..8dcaa85c98c0 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 1bc5aad38e23..dd835a308698 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"