aboutsummaryrefslogtreecommitdiff
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
parent369589a48d98d9cf0d1e4f6f22545c6e772d732d (diff)
games/lbreakout2: Updated for version 2.6beta7
-rw-r--r--games/lbreakout2/lbreakout2.SlackBuild6
-rw-r--r--games/lbreakout2/lbreakout2.info2
2 files changed, 7 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}
diff --git a/games/lbreakout2/lbreakout2.info b/games/lbreakout2/lbreakout2.info
index 05ba83604b949..1ec2bce13ab3b 100644
--- a/games/lbreakout2/lbreakout2.info
+++ b/games/lbreakout2/lbreakout2.info
@@ -2,7 +2,9 @@ PRGNAM="lbreakout2"
VERSION="2.6beta7"
HOMEPAGE="http://lgames.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/lgames/lbreakout2-2.6beta-7.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="bccede972d2f73612c47ca6a5aa9770e"
+MD5SUM_x86_64=""
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
APPROVED="rworkman"