aboutsummaryrefslogtreecommitdiff
path: root/games/lbreakout2/lbreakout2.SlackBuild
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-13 00:26:34 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:26:34 +0200
commit724ba5ded20825278a4a6d639f3da6a32ab34ced (patch)
tree50663dc39b97aeeaf4ba7e49832acd082d12e740 /games/lbreakout2/lbreakout2.SlackBuild
parent369589a48d98d9cf0d1e4f6f22545c6e772d732d (diff)
games/lbreakout2: Updated for version 2.6beta7
Diffstat (limited to 'games/lbreakout2/lbreakout2.SlackBuild')
-rw-r--r--games/lbreakout2/lbreakout2.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/lbreakout2/lbreakout2.SlackBuild b/games/lbreakout2/lbreakout2.SlackBuild
index 307f4fa28bb20..5e9affc1ed929 100644
--- a/games/lbreakout2/lbreakout2.SlackBuild
+++ b/games/lbreakout2/lbreakout2.SlackBuild
@@ -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
@@ -59,6 +62,7 @@ find . \
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var/lib/lgames \
--enable-sdl-net \
@@ -84,4 +88,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $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}