aboutsummaryrefslogtreecommitdiff
path: root/network/murmur/murmur.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/murmur/murmur.SlackBuild')
-rw-r--r--network/murmur/murmur.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/network/murmur/murmur.SlackBuild b/network/murmur/murmur.SlackBuild
index d618f0fb8015d..d5702284b431d 100644
--- a/network/murmur/murmur.SlackBuild
+++ b/network/murmur/murmur.SlackBuild
@@ -16,10 +16,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
@@ -37,7 +40,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-qmake-qt4 \
+qmake \
main.pro \
CONFIG+=no-client
@@ -66,4 +69,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/rc.murmur > $PKG/etc/rc.d/rc.murmur.new
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}