summaryrefslogtreecommitdiff
path: root/games/gnubg
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-07-29 03:18:33 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-31 22:31:51 -0500
commite4f43886bfac6aab702272c29415e26aa4507a21 (patch)
tree242953e1872abce851f8188b48d9daed7acf7696 /games/gnubg
parent081fbb9bee58cb8f1b47dfd429b55f472ce394f4 (diff)
downloadslackbuilds-e4f43886bfac6aab702272c29415e26aa4507a21.tar.gz
games/gnubg: Updated for version 20100722.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/gnubg')
-rw-r--r--games/gnubg/gnubg.SlackBuild13
-rw-r--r--games/gnubg/gnubg.info6
-rw-r--r--games/gnubg/slack-desc2
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