mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
gnuchess, bump version (#5558)
This commit is contained in:
@@ -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
|
||||
}
|
||||
72
games-board/gnuchess/gnuchess-6.2.7.recipe
Normal file
72
games-board/gnuchess/gnuchess-6.2.7.recipe
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user