diff options
-rw-r--r-- | games/bzflag/bzflag.SlackBuild | 11 | ||||
-rw-r--r-- | games/bzflag/bzflag.info | 8 |
2 files changed, 14 insertions, 5 deletions
diff --git a/games/bzflag/bzflag.SlackBuild b/games/bzflag/bzflag.SlackBuild index d5545dd5fe..ef7f0be529 100644 --- a/games/bzflag/bzflag.SlackBuild +++ b/games/bzflag/bzflag.SlackBuild @@ -25,7 +25,7 @@ # Modified by the SlackBuilds.org project PRGNAM=bzflag -VERSION=2.0.8 +VERSION=2.0.12 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -36,8 +36,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 rm -rf $PKG @@ -53,7 +58,9 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ + --build=$ARCH-slackware-linux \ || exit 1 make || exit 1 @@ -75,4 +82,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc 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/bzflag/bzflag.info b/games/bzflag/bzflag.info index 6dd3b4a851..4b640b2136 100644 --- a/games/bzflag/bzflag.info +++ b/games/bzflag/bzflag.info @@ -1,8 +1,10 @@ PRGNAM="bzflag" -VERSION="2.0.8" +VERSION="2.0.12" HOMEPAGE="http://www.bzflag.org" -DOWNLOAD="http://downloads.sourceforge.net/bzflag/bzflag-2.0.8.tar.bz2" -MD5SUM="7963cc1de7144e76a9426b6f23d7c2c8" +DOWNLOAD="http://downloads.sourceforge.net/bzflag/bzflag-2.0.12.tar.bz2" +DOWNLOAD_x86_64="" +MD5SUM="1228754cac3eaacd4badba5319f47b41" +MD5SUM_x86_64="" MAINTAINER="Martin Lefebvre" EMAIL="dadexter@gmail.com" APPROVED="rworkman" |