summaryrefslogtreecommitdiff
path: root/network/umtsmon/umtsmon.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:38:35 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:38:35 +0200
commit8786a56085997f9903ba72779a05b434e60fde12 (patch)
tree31947a11944460d77c0ff8d77b1b927b56be238e /network/umtsmon/umtsmon.SlackBuild
parentaeb9954a6e8ba6bfa769f4b6c53f5fb090525fd2 (diff)
downloadslackbuilds-8786a56085997f9903ba72779a05b434e60fde12.tar.gz
network/umtsmon: Updated for version 0.9
Diffstat (limited to 'network/umtsmon/umtsmon.SlackBuild')
-rw-r--r--network/umtsmon/umtsmon.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/network/umtsmon/umtsmon.SlackBuild b/network/umtsmon/umtsmon.SlackBuild
index 6983d781b2..55e04070e0 100644
--- a/network/umtsmon/umtsmon.SlackBuild
+++ b/network/umtsmon/umtsmon.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for umtsmon
-# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at>
+# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -52,7 +55,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-qmake
+/opt/kde3/bin/qmake
sed -i "s/-O2/$SLKCFLAGS/g" Makefile
make -k
@@ -72,4 +75,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}