summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/umtsmon/README4
-rw-r--r--network/umtsmon/umtsmon.SlackBuild9
-rw-r--r--network/umtsmon/umtsmon.info4
3 files changed, 12 insertions, 5 deletions
diff --git a/network/umtsmon/README b/network/umtsmon/README
index 7ebdfe4025..053cd05ffe 100644
--- a/network/umtsmon/README
+++ b/network/umtsmon/README
@@ -3,4 +3,6 @@ PIN code, send and receive SMS and control/monitor the network
connection.
To make umtsmon work with Slackware you have to either manually
-set /usr/sbin/pppd suid root, or run umtsmon with sudo or as root. \ No newline at end of file
+set /usr/sbin/pppd suid root, or run umtsmon with sudo or as root.
+
+This requires the qt3 compat libs from /extra. \ No newline at end of file
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}
diff --git a/network/umtsmon/umtsmon.info b/network/umtsmon/umtsmon.info
index 60bacdbc0e..78b1cef654 100644
--- a/network/umtsmon/umtsmon.info
+++ b/network/umtsmon/umtsmon.info
@@ -2,7 +2,9 @@ PRGNAM="umtsmon"
VERSION="0.9"
HOMEPAGE="http://umtsmon.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/umtsmon/umtsmon-0.9.src.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="2f9260d1fc69b230cf0035efa1a962f0"
-MAINTAINER="ppr:kut"
+MD5SUM_x86_64=""
+MAINTAINER="pprkut"
EMAIL="pprkut@liwjatan.at"
APPROVED="rworkman"