From c11cffe080b641c8911b43f4a5e64d430d576cec Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 10 Nov 2015 00:17:22 +0100 Subject: [PATCH] Add recipe for dreamchess. from http://ports.haiku-files.org/ticket/459 I can't get mxml to build, so this is untested. --- .../dreamchess/dreamchess-0.2.0.recipe | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 games-board/dreamchess/dreamchess-0.2.0.recipe diff --git a/games-board/dreamchess/dreamchess-0.2.0.recipe b/games-board/dreamchess/dreamchess-0.2.0.recipe new file mode 100644 index 000000000..38dc2911f --- /dev/null +++ b/games-board/dreamchess/dreamchess-0.2.0.recipe @@ -0,0 +1,60 @@ +SUMMARY="XBoard-compatible 3D chess interface and engine" +DESCRIPTION="DreamChess is an open source chess game. Our primary target platforms are Windows, \ +Mac OS X and Linux. DreamChess features 3D OpenGL graphics and provides various chess board sets, \ +ranging from classic wooden to flat figurines. + +A moderately strong chess engine is included: Dreamer. However, should this engine be too weak \ +for you, then you can use any other XBoard-compatible chess engine, including the popular Crafty \ +and GNU Chess. + +Other features include music, sound effects, on-screen move lists using SAN notation, undo \ +functionality, and savegames in PGN format. + +The DreamChess team currently consists of only a handful of people. We could use help in many \ +areas, such as programming, graphics, sound and testing. If you’re interested in helping out, \ +please send an email to feedback at dreamchess.org." +HOMEPAGE="http://www.dreamchess.org/" +SOURCE_URI="https://github.com/dreamchess/dreamchess/releases/download/$portVersion/dreamchess-$portVersion.tar.gz" +CHECKSUM_SHA256="7615699995a635c3dff6c952aa0d32723c415c8bb42448b4269d3daa199d8059" +REVISION="1" +ARCHITECTURES="x86_gcc2" + +PROVIDES=" + dreamchess = $portVersion +" + +REQUIRES=" + haiku + lib:libsdl + lib:libsdl_image + lib:mxml +" + +BUILD_REQUIRES=" + haiku_devel + devel:libsdl + devel:libsdl_image + devel:mxml +" + +BUILD_PREREQUIRES=" + cmd:awk + cmd:gcc + cmd:make +" + +BUILD() { + #libtoolize --force --copy --install + runConfigure ./configure --prefix=/boot/apps/dreamchess + make $jobArgs +} + +INSTALL() { + make install +} + +COPYRIGHT="2003-2007 Andrew Ball, Annie Kirkpatrick, Brandon May, Kris McAulay, + Walter van Niftrik, Rogier van Schaijk, Lawrence Sebald, Matthew P. Smith + 1991-1993 The Regents of the University of California + 1998-2005 Gilles Vollant" +LICENSE="GNU GPL v3"