summaryrefslogtreecommitdiff
path: root/games-board/polyglot/polyglot-1.4.70b-r3.ebuild
blob: eb7416bcfb4e6754bdd022e5dd8b4bffab45d144 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Protocol adapter to run UCI chess engines under xboard"
HOMEPAGE="http://hardy.uhasselt.be/Toga/"
# not entirely clear what the "b" in the version stands for
SRC_URI="http://hardy.uhasselt.be/Toga/${PN}-release/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"

PATCHES=(
	"${FILESDIR}"/${P}-no-common.patch
	"${FILESDIR}"/${P}-musl.patch
)
DOCS="AUTHORS ChangeLog TODO" # README* installed by build system

src_compile() {
	emake CFLAGS="-std=gnu17 ${CFLAGS}"
}