diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 22:23:03 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 22:23:03 +0200 |
commit | 1f5ad16c496d9f8d726a0d63881aeacd99ab590e (patch) | |
tree | 263f5e2d363f7d6f67117bcc670eeaab3afc051a /games/gnubg | |
parent | 9c0615f17547261770bf5bf27bd73c1daceed2be (diff) |
games/gnubg: Updated for version 0.16_20081013
Diffstat (limited to 'games/gnubg')
-rw-r--r-- | games/gnubg/README | 5 | ||||
-rw-r--r-- | games/gnubg/doinst.sh | 2 | ||||
-rw-r--r-- | games/gnubg/gnubg.SlackBuild | 14 | ||||
-rw-r--r-- | games/gnubg/gnubg.info | 6 |
4 files changed, 17 insertions, 10 deletions
diff --git a/games/gnubg/README b/games/gnubg/README index 6b377c6c5671f..f93d82a6e5be9 100644 --- a/games/gnubg/README +++ b/games/gnubg/README @@ -21,4 +21,7 @@ popular opponent among the members at GamesGrid. GGraccoon usually rates about 1900. You may play GNU Backgammon using the command line or a graphical interface -(based on GTK+). +(based on GTK+). For 3D Boards support you will need the GTK OpenGL +extension (gtkglext) available at SlackBuilds.org. gstreamer and sqlite +are also optional dependencies, and will be detected automatically if they +are installed. diff --git a/games/gnubg/doinst.sh b/games/gnubg/doinst.sh index b7aa508b4af4c..02b89b3fe3b5d 100644 --- a/games/gnubg/doinst.sh +++ b/games/gnubg/doinst.sh @@ -1,3 +1,3 @@ if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database &> /dev/null + /usr/bin/update-desktop-database ./usr/share/applications &> /dev/null fi diff --git a/games/gnubg/gnubg.SlackBuild b/games/gnubg/gnubg.SlackBuild index 8a69a8879b4ae..dd35d96bf803a 100644 --- a/games/gnubg/gnubg.SlackBuild +++ b/games/gnubg/gnubg.SlackBuild @@ -5,7 +5,7 @@ PRGNAM=gnubg VERSION=0.16 -SRCVER=20080325 +SRCVER=20081013 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -19,10 +19,12 @@ 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" fi rm -rf $PKG -mkdir -p $TMP $PKG +mkdir -p $TMP $PKG $OUTPUT cd $TMP || exit 1 rm -rf $PRGNAM tar xvf $CWD/$PRGNAM-source-SNAPSHOT-$SRCVER.tar.gz || exit 1 @@ -30,12 +32,16 @@ cd $PRGNAM || exit 1 chown -R root:root . chmod -R u+w,go+r-w,a-s . +./autogen.sh || exit 1 + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var/lib \ --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux \ || exit 1 make || exit 1 @@ -47,13 +53,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ABOUT-NLS AUTHORS CODING COPYING ChangeLog INSTALL NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -mv $PKG/usr/share/$PRGNAM/doc $PKG/usr/doc/$PRGNAM-$VERSION/html -( cd $PKG/usr/share/$PRGNAM ; ln -s /usr/doc/$PRGNAM-$VERSION/html doc ) mkdir -p $PKG/usr/share/applications cat $CWD/gnubg.desktop > $PKG/usr/share/applications/gnubg.desktop -mkdir -p $PKG/install +mkdir -p $PKG/install cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/games/gnubg/gnubg.info b/games/gnubg/gnubg.info index 82d6345158b48..2b3ebf13c38d4 100644 --- a/games/gnubg/gnubg.info +++ b/games/gnubg/gnubg.info @@ -1,8 +1,8 @@ PRGNAM="gnubg" -VERSION="0.16" +VERSION="0.16_20081013" HOMEPAGE="http://www.gnubg.org/" -DOWNLOAD="http://www.gnubg.org/media/sources/gnubg-source-SNAPSHOT-20080325.tar.gz" -MD5SUM="04d6c8b694f013d3ca0236214103fd29" +DOWNLOAD="http://www.gnubg.org/media/sources/gnubg-source-SNAPSHOT-20081013.tar.gz" +MD5SUM="a18ac8b63557a8249cd4131668e6efa3" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" APPROVED="rworkman" |