games/gnubg: Updated for version 20100722.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Erik Hanson 2010-07-29 03:18:33 -05:00
parent 081fbb9bee
commit e4f43886bf
3 changed files with 13 additions and 8 deletions

View file

@ -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

View file

@ -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"

View file

@ -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