aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 307f4fa28bb2..5e9affc1ed92 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 05ba83604b94..1ec2bce13ab3 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"