[Lunar-commits] <moonbase-other> gnuchess: resurrected and bumped

v4hn me at v4hn.de
Thu Jul 12 15:01:18 CEST 2012


commit 5dddb01bf5a67e32dabffbea558250bfb4aa20d3
Author: v4hn <me at v4hn.de>
Date: Thu, 12 Jul 2012 06:01:18 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/5dddb01bf5a67e32dabffbea558250bfb4aa20d3

gnuchess: resurrected and bumped
---
  games/gnuchess/BUILD                                         +7/-0     
  games/gnuchess/DEPENDS                                       +3/-0     
  games/gnuchess/DETAILS                                       +17/-0    
  games/gnuchess/POST_INSTALL                                  +3/-0     
  games/gnuchess/chess                                         +18/-0    
  5 files changed, 48 insertions (+), 0 deletions (-)

--- /dev/null
+++ b/games/gnuchess/BUILD
@@ -0,0 +1,7 @@
+(
+
+  CCARGS="-DXBOARD" &&
+  default_build &&
+  install -Dm0755 $SCRIPT_DIRECTORY/chess /usr/games/chess
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/games/gnuchess/DEPENDS
@@ -0,0 +1,3 @@
+depends  ncurses
+
+optional_depends  "xboard"  ""  ""  "to use with an X based board."
--- /dev/null
+++ b/games/gnuchess/DETAILS
@@ -0,0 +1,17 @@
+          MODULE=gnuchess
+         VERSION=6.0.2
+          SOURCE=$MODULE-$VERSION.tar.gz
+      SOURCE_URL=$GNU_URL/chess
+      SOURCE_VFY=sha1:a3455e7a523f11db542bdffe1c86c2530fb8d0c5
+        WEB_SITE=http://www.gnu.org/software/chess/chess.html
+         ENTERED=20020428
+         UPDATED=20120305
+           SHORT="Lets most modern computers play a full game of chess"
+
+cat << EOF
+GNU Chess lets most modern computers play a full game of chess. It has a plain
+terminal interface but supports visual interfaces such as X-Windows "xboard" as
+well as a full 3-dimensional wooden chess-board protocol for the Novag Chess
+board enabling one to be relatively free of the computer itself. See the
+distribution README for explanation.
+EOF
--- /dev/null
+++ b/games/gnuchess/POST_INSTALL
@@ -0,0 +1,3 @@
+echo " "
+echo "Execute /usr/games/chess to use with xboard."
+echo " "
--- /dev/null
+++ b/games/gnuchess/chess
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# chess: this is the proper command string required to execute
+#        xboard with gnuchess.
+#
+# related modules: xboard, gnuchess
+
+GCHESS=`which gnuchess`
+XBORD=`which xboard`
+
+if [ -e "$GCHESS" ]; then
+	$XBORD -fcp "$GCHESS" -fd "/usr/games" -scp "$GCHESS xboard" -sd "/usr/games"
+else
+        echo " "
+	echo "$GCHESS missing. Please install the gnuchess module!"
+	exit 0
+fi
+exit 0




More information about the Lunar-commits mailing list