network/umtsmon: Updated for version 0.9

This commit is contained in:
Heinz Wiesinger 2010-05-13 00:38:35 +02:00 committed by Robby Workman
parent aeb9954a6e
commit 8786a56085
3 changed files with 12 additions and 5 deletions

View File

@ -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.
set /usr/sbin/pppd suid root, or run umtsmon with sudo or as root.
This requires the qt3 compat libs from /extra.

View File

@ -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}

View File

@ -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"