summaryrefslogtreecommitdiff
path: root/games/gnubg
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-21 14:48:46 -0500
committererik@slackbuilds.org <erik@slackbuilds.org>2010-05-23 23:16:56 -0500
commitad636befefd27cff7be761a27b0a6a7b580b59ee (patch)
tree75a17ef77095f2f3c5fdc7a65163af60623dc6ee /games/gnubg
parent5ce2f052276fbfcad5db32e4d9a43fadef33a988 (diff)
downloadslackbuilds-ad636befefd27cff7be761a27b0a6a7b580b59ee.tar.gz
games/gnubg: Updated version, various cleanups.
Diffstat (limited to 'games/gnubg')
-rw-r--r--games/gnubg/README21
-rw-r--r--games/gnubg/gnubg.SlackBuild15
-rw-r--r--games/gnubg/gnubg.info6
3 files changed, 16 insertions, 26 deletions
diff --git a/games/gnubg/README b/games/gnubg/README
index 03639b5888..f365e00c22 100644
--- a/games/gnubg/README
+++ b/games/gnubg/README
@@ -1,24 +1,5 @@
GNU Backgammon (gnubg) is for playing and analysing backgammon positions,
-games and matches. It's based on a neural network. In the past twelve months
-it has made enormous progress. It currently plays at about the level of a
-championship flight tournament player. Depending on its parameters and its
-luck in recent games, it rates from around 1900 to 2000 on FIBS, the First
-Internet Backgammon Server -- at its strongest, it ranks in the top 5 of over
-6000 rated players there) and is gradually improving; it should be somewhat
-stronger than this when released. Since almost all of the CPU time required
-during supervised training is spent performing rollouts, and rollouts can
-easily be performed in parallel, it is hoped that users will be able to pool
-rollout results and collectively train it to a level stronger than any
-individual could obtain.
-
-You can also compete against recent versions of gnubg on FIBS; it plays
-there under the names gnu, mgnutest, mpgnu, mgnu_advanced, mgnu_expert,
-mgnu_WClass, ParlorBot and mgnu_zp.
-
-GNU Backgammon also playes on GamesGrid. A version of GNU Backgammon with no
-lookahead, 0-ply, plays with the nickname GGraccoon. GGraccoon is a very
-popular opponent among the members at GamesGrid. GGraccoon usually rates
-about 1900.
+games and matches.
You may play GNU Backgammon using the command line or a graphical interface
(based on GTK+). For 3D Boards support you will need the GTK OpenGL
diff --git a/games/gnubg/gnubg.SlackBuild b/games/gnubg/gnubg.SlackBuild
index cc9a603e43..c7536f953e 100644
--- a/games/gnubg/gnubg.SlackBuild
+++ b/games/gnubg/gnubg.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for GNU Backgammon
#
-# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,7 @@
PRGNAM=gnubg
VERSION=0.90.0
-SRCVER=20091120
-ARCH=${ARCH:-i486}
+SRCVER=20100521
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,12 +33,22 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i486 ;;
+ arm*) export ARCH=arm ;;
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
fi
set -eu
diff --git a/games/gnubg/gnubg.info b/games/gnubg/gnubg.info
index 129e662807..63da3659b1 100644
--- a/games/gnubg/gnubg.info
+++ b/games/gnubg/gnubg.info
@@ -1,8 +1,8 @@
PRGNAM="gnubg"
-VERSION="0.90.0_20091120"
+VERSION="0.90.0_20100521"
HOMEPAGE="http://www.gnubg.org/"
-DOWNLOAD="http://www.gnubg.org/media/sources/gnubg-source-SNAPSHOT-20091120.tar.gz"
-MD5SUM="fe1491e1da6879628b6762ab717f0d77"
+DOWNLOAD="http://www.gnubg.org/media/sources/gnubg-source-SNAPSHOT-20100521.tar.gz"
+MD5SUM="8772208ac6e168ec8f01cdcbbed9ee84"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Erik Hanson"