diff --git a/games-board/gnuchess/gnuchess-6.2.5.recipe b/games-board/gnuchess/gnuchess-6.2.5.recipe deleted file mode 100644 index 723aa9e05..000000000 --- a/games-board/gnuchess/gnuchess-6.2.5.recipe +++ /dev/null @@ -1,58 +0,0 @@ -SUMMARY="A chess engine and console frontend" -DESCRIPTION="GNU Chess is a free software chess engine developed by the GNU \ -project. It started as a project by Stuart Cracraft and Richard Stallman in \ -1984. It is supported as an engine for a wide range of graphical frontents \ -such as XBoard and glChess, but also works autonomously on the console." -HOMEPAGE="https://www.gnu.org/software/chess/" -COPYRIGHT="2001-2015 Free Software Foundation, Inc." -LICENSE="GNU GPL v3" -REVISION="2" -SOURCE_URI="http://ftpmirror.gnu.org/chess/gnuchess-$portVersion.tar.gz" -CHECKSUM_SHA256="9a99e963355706cab32099d140b698eda9de164ebce40a5420b1b9772dd04802" -PATCHES="gnuchess-$portVersion.patchset" - -ARCHITECTURES="x86_gcc2 x86 x86_64" - -PROVIDES=" - gnuchess = $portVersion - cmd:gnuchess = $portVersion - cmd:gnuchessu = $portVersion - cmd:gnuchessx = $portVersion - " -REQUIRES=" - haiku - lib:libiconv - lib:libintl - lib:libncurses - lib:libreadline - " - -BUILD_REQUIRES=" - haiku_devel - devel:libiconv - devel:libintl - devel:libncurses - devel:libreadline - " -BUILD_PREREQUIRES=" - cmd:awk - cmd:g++ - cmd:gettext - cmd:make - " - -BUILD() -{ - runConfigure ./configure - make $jobArgs -} - -INSTALL() -{ - make install -} - -TEST() -{ - make check -} diff --git a/games-board/gnuchess/gnuchess-6.2.7.recipe b/games-board/gnuchess/gnuchess-6.2.7.recipe new file mode 100644 index 000000000..134ce0bca --- /dev/null +++ b/games-board/gnuchess/gnuchess-6.2.7.recipe @@ -0,0 +1,72 @@ +SUMMARY="A chess engine and console frontend" +DESCRIPTION="GNU Chess is a free software chess engine developed by the GNU \ +project. It started as a project by Stuart Cracraft and Richard Stallman in \ +1984. It is supported as an engine for a wide range of graphical frontents \ +such as XBoard and glChess, but also works autonomously on the console." +HOMEPAGE="https://www.gnu.org/software/chess/" +COPYRIGHT="2001-2020 Free Software Foundation, Inc." +LICENSE="GNU GPL v3" +REVISION="1" +SOURCE_URI="http://ftpmirror.gnu.org/chess/gnuchess-$portVersion.tar.gz" +CHECKSUM_SHA256="e536675a61abe82e61b919f6b786755441d9fcd4c21e1c82fb9e5340dd229846" +PATCHES="gnuchess-$portVersion.patchset" + +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86" + +if [ "$targetArchitecture" != x86_gcc2 ]; then + commandSuffix=$secondaryArchSuffix + commandBinDir=$binDir +else + commandSuffix= + commandBinDir=$prefix/bin +fi + +PROVIDES=" + gnuchess$secondaryArchSuffix = $portVersion + cmd:gnuchess$commandSuffix = $portVersion + cmd:gnuchessu$commandSuffix = $portVersion + cmd:gnuchessx$commandSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libiconv$secondaryArchSuffix + lib:libintl$secondaryArchSuffix + lib:libncurses$secondaryArchSuffix + lib:libreadline$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libiconv$secondaryArchSuffix + devel:libintl$secondaryArchSuffix + devel:libncurses$secondaryArchSuffix + devel:libreadline$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:aclocal + cmd:autoreconf + cmd:awk + cmd:find + cmd:g++$secondaryArchSuffix + cmd:make + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + autoreconf -vfi + runConfigure --omit-dirs binDir ./configure \ + --bindir=$commandBinDir + make $jobArgs +} + +INSTALL() +{ + make install +} + +TEST() +{ + make check +} diff --git a/games-board/gnuchess/patches/gnuchess-6.2.5.patchset b/games-board/gnuchess/patches/gnuchess-6.2.7.patchset similarity index 100% rename from games-board/gnuchess/patches/gnuchess-6.2.5.patchset rename to games-board/gnuchess/patches/gnuchess-6.2.7.patchset