From da6032dd3990b797166c964e1d4ee10e7e5fc6e1 Mon Sep 17 00:00:00 2001 From: Iskar Enev Date: Tue, 11 May 2010 22:26:46 +0200 Subject: [PATCH] system/lshw: Updated for version B.02.13 --- system/lshw/doinst.sh | 6 ++++++ system/lshw/lshw.SlackBuild | 5 ++++- system/lshw/lshw.info | 6 +++--- 3 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 system/lshw/doinst.sh 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 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="" APPROVED="rworkman"