games/madbomber: Updated for version 0.2.5

This commit is contained in:
B. Watson 2010-05-13 00:26:38 +02:00 committed by David Somero
parent a26b3a6119
commit ce1cc032ad
2 changed files with 7 additions and 1 deletions

View file

@ -19,10 +19,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,6 +43,7 @@ sed -i -e "s/-Wall/-Wall $SLKCFLAGS/" Makefile
make BIN_PREFIX=/usr/games/ DATA_PREFIX=/usr/share/$PRGNAM/
strip $PRGNAM
mkdir -p $PKG/usr/games/ $PKG/usr/share/$PRGNAM/
make install BIN_PREFIX=$PKG/usr/games DATA_PREFIX=$PKG/usr/share/$PRGNAM/
@ -62,4 +66,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}

View file

@ -2,7 +2,9 @@ PRGNAM="madbomber"
VERSION="0.2.5"
HOMEPAGE="http://www.newbreedsoftware.com/madbomber/"
DOWNLOAD="ftp://ftp.tuxpaint.org/unix/x/madbomber/src/madbomber-0.2.5.tar.gz"
DOWNLOAD_x86_64=""
MD5SUM="90772baaec90a10f6d9467bc4d3963a6"
MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
APPROVED="dsomero"