summaryrefslogtreecommitdiff
path: root/games/monkey-bubble/monkey-bubble.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-13 00:26:43 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:26:43 +0200
commit897a493e66c937c6830cf2fb101529d962408dd8 (patch)
tree38d745e797635ac3ac67475e076918ea6e3b16ca /games/monkey-bubble/monkey-bubble.SlackBuild
parent19e12fc16fd8d00edd07926b877771de120d1a01 (diff)
downloadslackbuilds-897a493e66c937c6830cf2fb101529d962408dd8.tar.gz
games/monkey-bubble: Updated for version 0.4.0
Diffstat (limited to 'games/monkey-bubble/monkey-bubble.SlackBuild')
-rw-r--r--games/monkey-bubble/monkey-bubble.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/games/monkey-bubble/monkey-bubble.SlackBuild b/games/monkey-bubble/monkey-bubble.SlackBuild
index d8943d7aad..dccf40c0ce 100644
--- a/games/monkey-bubble/monkey-bubble.SlackBuild
+++ b/games/monkey-bubble/monkey-bubble.SlackBuild
@@ -15,10 +15,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
@@ -40,15 +43,16 @@ patch -p1 < $CWD/monkey-bubble-0.4.0-gnome-doc.patch
# This is if you want to enable scrollkeeper.
if [ "${HAVE_RARIAN:-no}" != "yes" ]; then
- USE_RARIAN="disable-scrollkeeper"
+ USE_RARIAN="disable-scrollkeeper"
else
- USE_RARIAN="enable-scrollkeeper"
+ USE_RARIAN="enable-scrollkeeper"
fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--${USE_RARIAN} \
--build=$ARCH-slackware-linux
@@ -87,4 +91,4 @@ done
echo "unset GCONF_CONFIG_SOURCE" >> $PKG/install/doinst.sh
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}