gnuchess: bump to 6.2.2.

* Bump version.
* Build with libiconv, libintl, libncurses and libreadline.
* Mark x86 and x86_64 as tested.
* Sort cmd:* in BUILD_PREREQUIRES.
* Use mirror redirector for SOURCE_URI.
* Add TEST() with "make check".
This commit is contained in:
fbrosson
2016-04-29 21:47:04 +00:00
parent a1d6b5ec8d
commit 15c15beb0f
2 changed files with 21 additions and 7 deletions

View File

@@ -4,14 +4,14 @@ 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-2011 Free Software Foundation, Inc."
COPYRIGHT="2001-2015 Free Software Foundation, Inc."
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="http://ftp.gnu.org/gnu/chess/gnuchess-6.2.1.tar.gz"
CHECKSUM_SHA256="17caab725539447bcb17a14b17905242cbf287087e53a6777524feb7bbaeed06"
PATCHES="gnuchess-6.2.1.patchset"
SOURCE_URI="http://ftpmirror.gnu.org/chess/gnuchess-$portVersion.tar.gz"
CHECKSUM_SHA256="7776c114eeb5889dea69dc4715a3622ec57f65efab667987e7d7183cc05381a8"
PATCHES="gnuchess-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
gnuchess = $portVersion
@@ -21,15 +21,24 @@ PROVIDES="
"
REQUIRES="
haiku
lib:libintl
lib:libiconv
lib:libncurses
lib:libreadline
"
BUILD_REQUIRES="
haiku_devel
devel:libintl
devel:libiconv
devel:libncurses
devel:libreadline
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
cmd:awk
cmd:gettext
cmd:g++
cmd:make
"
BUILD()
@@ -42,3 +51,8 @@ INSTALL()
{
make install
}
TEST()
{
make check
}