aboutsummaryrefslogtreecommitdiff
path: root/system/lshw/lshw.SlackBuild
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/lshw.SlackBuild
parenta122f30d92a17cf7467e6f4941c905704c769bc4 (diff)
system/lshw: Updated for version B.02.13
Diffstat (limited to 'system/lshw/lshw.SlackBuild')
-rw-r--r--system/lshw/lshw.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/lshw/lshw.SlackBuild b/system/lshw/lshw.SlackBuild
index c2f2017712709..8dcaa85c98c0d 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