diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/gnubg/gnubg.SlackBuild | 13 | ||||
-rw-r--r-- | games/gnubg/gnubg.info | 6 | ||||
-rw-r--r-- | games/gnubg/slack-desc | 2 |
3 files changed, 13 insertions, 8 deletions
diff --git a/games/gnubg/gnubg.SlackBuild b/games/gnubg/gnubg.SlackBuild index 88d879cb4e..b3f4b5f48a 100644 --- a/games/gnubg/gnubg.SlackBuild +++ b/games/gnubg/gnubg.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh -# + # Slackware build script for GNU Backgammon -# + # Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA # All rights reserved. # @@ -24,7 +24,7 @@ PRGNAM=gnubg VERSION=0.90.0 -SRCVER=20100521 +SRCVER=20100722 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -43,12 +43,16 @@ fi 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" else SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi set -eu @@ -65,6 +69,7 @@ chmod -R u+w,go+r-w,a-s . ./autogen.sh CFLAGS="$SLKCFLAGS" \ +LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ @@ -79,7 +84,7 @@ make install-strip DESTDIR=$PKG gzip -9 $PKG/usr/man/man?/*.? mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ABOUT-NLS AUTHORS CODING COPYING ChangeLog INSTALL NEWS README TODO \ +cp -a AUTHORS CODING COPYING ChangeLog INSTALL NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/games/gnubg/gnubg.info b/games/gnubg/gnubg.info index 63da3659b1..b4cc786e66 100644 --- a/games/gnubg/gnubg.info +++ b/games/gnubg/gnubg.info @@ -1,8 +1,8 @@ PRGNAM="gnubg" -VERSION="0.90.0_20100521" +VERSION="0.90.0_20100722" HOMEPAGE="http://www.gnubg.org/" -DOWNLOAD="http://www.gnubg.org/media/sources/gnubg-source-SNAPSHOT-20100521.tar.gz" -MD5SUM="8772208ac6e168ec8f01cdcbbed9ee84" +DOWNLOAD="http://www.gnubg.org/media/sources/gnubg-source-SNAPSHOT-20100722.tar.gz" +MD5SUM="a544f8e80afcc95aea7fccbbd96ba3d2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Erik Hanson" diff --git a/games/gnubg/slack-desc b/games/gnubg/slack-desc index 21a77c13b2..145f85896e 100644 --- a/games/gnubg/slack-desc +++ b/games/gnubg/slack-desc @@ -7,7 +7,7 @@ |-----handy-ruler-------------------------------------------------------| gnubg: GNU Backgammon (command line or a gui backgammon) -gnubg: +gnubg: gnubg: GNU Backgammon (gnubg) is for playing and analysing backgammon gnubg: positions, games and matches. It's based on a neural network. It gnubg: currently plays at about the level of a championship flight |