aboutsummaryrefslogtreecommitdiff
path: root/network/murmur/murmur.SlackBuild
diff options
context:
space:
mode:
authoradev <adev@linuxmail.org>2010-05-13 00:37:23 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:37:23 +0200
commit68007c6dbad5e57b8650dd5077e56125761455db (patch)
tree07f51a5f9ccb7d49ceb5cf314c908f4401c8b02e /network/murmur/murmur.SlackBuild
parenta83168953a31f794e5061b438c18965efee8a12f (diff)
network/murmur: Updated for version 1.1.4
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}