Skip to content

Commit

Permalink
games-board/crafty: EAPI 8
Browse files Browse the repository at this point in the history
Update HOMEPAGE and SRC_URIs, minor QA fixes.

Signed-off-by: Ulrich Müller <[email protected]>
Closes: gentoo#34065
Signed-off-by: James Le Cuirot <[email protected]>
  • Loading branch information
ulm authored and chewi committed Dec 2, 2023
1 parent 5cef3ae commit 95cc9ea
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=8

inherit flag-o-matic toolchain-funcs

DESCRIPTION="Bob Hyatt's strong chess engine"
HOMEPAGE="http://www.craftychess.com/"
SRC_URI="http://www.craftychess.com/${P}.zip
http://www.cis.uab.edu/hyatt/crafty/source/${P}.zip
ftp://ftp.cis.uab.edu/pub/hyatt/documentation/${PN}.doc.ascii"
HOMEPAGE="https://web.archive.org/web/20231106192545/http://craftychess.com/"
SRC_URI="https://web.archive.org/web/20210304102649/http://www.craftychess.com/downloads/source/${P}.zip
mirror://gentoo/85/${PN}.doc.ascii"

LICENSE="crafty"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
IUSE="no-opts"
RESTRICT="test"

RDEPEND=""
DEPEND="${RDEPEND}
app-arch/unzip"
BDEPEND="app-arch/unzip"

src_prepare() {
default
Expand Down Expand Up @@ -62,6 +60,7 @@ src_compile() {
fi
fi
fi
tc-export CC CXX
append-cppflags -DPOSIX -DSKILL
emake ${makeopts} crafty-make LDFLAGS="${LDFLAGS} -pthread"
}
Expand Down

0 comments on commit 95cc9ea

Please sign in to comment.