diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-07-29 03:18:33 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-07-31 22:31:51 -0500 |
commit | e4f43886bfac6aab702272c29415e26aa4507a21 (patch) | |
tree | 242953e1872abce851f8188b48d9daed7acf7696 /games/gnubg/gnubg.SlackBuild | |
parent | 081fbb9bee58cb8f1b47dfd429b55f472ce394f4 (diff) | |
download | slackbuilds-e4f43886bfac6aab702272c29415e26aa4507a21.tar.gz |
games/gnubg: Updated for version 20100722.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/gnubg/gnubg.SlackBuild')
-rw-r--r-- | games/gnubg/gnubg.SlackBuild | 13 |
1 files changed, 9 insertions, 4 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 |