summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-11-30 16:05:22 +0100
committerJames Le Cuirot <chewi@gentoo.org>2023-12-02 20:56:57 +0000
commit95cc9eac4746c603c229b4e1c598df54866c0edd (patch)
tree5f1b57a30034ddee71eadeae063a50e78c7fe6f8 /games-board
parentnet-proxy/squid: Stabilize 6.5 x86, #919054 (diff)
downloadgentoo-95cc9eac4746c603c229b4e1c598df54866c0edd.tar.gz
gentoo-95cc9eac4746c603c229b4e1c598df54866c0edd.tar.bz2
gentoo-95cc9eac4746c603c229b4e1c598df54866c0edd.zip
games-board/crafty: EAPI 8
Update HOMEPAGE and SRC_URIs, minor QA fixes. Signed-off-by: Ulrich Müller <ulm@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34065 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-board')
-rw-r--r--games-board/crafty/crafty-24.1-r2.ebuild (renamed from games-board/crafty/crafty-24.1-r1.ebuild)15
1 files changed, 7 insertions, 8 deletions
diff --git a/games-board/crafty/crafty-24.1-r1.ebuild b/games-board/crafty/crafty-24.1-r2.ebuild
index 36cccd3f57c8..9c83673aaa80 100644
--- a/games-board/crafty/crafty-24.1-r1.ebuild
+++ b/games-board/crafty/crafty-24.1-r2.ebuild
@@ -1,14 +1,14 @@
# 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"
@@ -16,9 +16,7 @@ KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
IUSE="no-opts"
RESTRICT="test"
-RDEPEND=""
-DEPEND="${RDEPEND}
- app-arch/unzip"
+BDEPEND="app-arch/unzip"
src_prepare() {
default
@@ -62,6 +60,7 @@ src_compile() {
fi
fi
fi
+ tc-export CC CXX
append-cppflags -DPOSIX -DSKILL
emake ${makeopts} crafty-make LDFLAGS="${LDFLAGS} -pthread"
}