summaryrefslogtreecommitdiff
path: root/network/umtsmon/umtsmon.SlackBuild
diff options
context:
space:
mode:
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}