From bfed8ab79f395161f76df69c6125f9754e96af27 Mon Sep 17 00:00:00 2001 From: Marshall Scott Date: Thu, 13 May 2010 00:25:58 +0200 Subject: games/angband: Updated for version 3.1.0beta --- games/angband/angband.SlackBuild | 12 ++++++++---- games/angband/angband.info | 2 ++ 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'games/angband') diff --git a/games/angband/angband.SlackBuild b/games/angband/angband.SlackBuild index 57ffd240d7..f318db339e 100644 --- a/games/angband/angband.SlackBuild +++ b/games/angband/angband.SlackBuild @@ -16,11 +16,14 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi rm -rf $PKG @@ -39,6 +42,7 @@ patch -p1 < $CWD/Fix_DESTDIR_support.patch || exit 1 CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --with-libpath=/usr/share/games/angband \ @@ -87,5 +91,5 @@ 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/angband/angband.info b/games/angband/angband.info index da2517c812..5859e0f407 100644 --- a/games/angband/angband.info +++ b/games/angband/angband.info @@ -2,7 +2,9 @@ PRGNAM="angband" VERSION="3.1.0beta" HOMEPAGE="http://www.rephial.org/" DOWNLOAD="http://angband.oook.cz/download/angband-3.1.0beta.tar.gz" +DOWNLOAD_x86_64="" MD5SUM="65215f909583673e196579fe6d0be105" +MD5SUM_x86_64="" MAINTAINER="Marshall Scott" EMAIL="bacchist@gmail.com" APPROVED="rworkman" -- cgit v1.2.3