blob: f9b102f98ad61f895c612c78fb734e4e99b86064 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Protocol adapter to run UCI chess engines under xboard"
HOMEPAGE="http://hgm.nubati.net/"
# Released upstream version + patch created from git repo
MY_P="${PN}-${PV%_p*}"
SRC_URI="http://hgm.nubati.net/releases/${MY_P}.tar.gz
https://dev.gentoo.org/~ulm/distfiles/${P}.patch.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
PATCHES=( "${WORKDIR}"/${P}.patch )
DOCS="AUTHORS ChangeLog TODO" # README* installed by build system
src_compile() {
emake CFLAGS="-std=gnu17 ${CFLAGS}"
}
src_install() {
default
# Remove (badly rendered) plain text copy of the man page
rm "${ED}/usr/share/doc/${PF}/README" || die
}
|