mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 12:08:43 -04:00
Closes: https://bugs.gentoo.org/887641 Closes: https://bugs.gentoo.org/887643 Closes: https://bugs.gentoo.org/945212 Signed-off-by: brian gloyer <brian.gloyer@gmail.com>
49 lines
854 B
Bash
49 lines
854 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
inherit toolchain-funcs flag-o-matic
|
|
|
|
DESCRIPTION="brmh client for netrek"
|
|
HOMEPAGE="https://netrek.org"
|
|
SRC_URI="https://github.com/bgloyer/netrek-client-brmh/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
S="${WORKDIR}/netrek-client-brmh-${PV}"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
RDEPEND="
|
|
x11-base/xorg-proto
|
|
x11-libs/libX11
|
|
x11-libs/libXmu
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
"
|
|
BDEPEND="
|
|
x11-misc/imake
|
|
x11-misc/gccmakedep
|
|
"
|
|
|
|
src_configure() {
|
|
xmkmf || die
|
|
emake depend \
|
|
CC="$(tc-getCC)" \
|
|
CDEBUGFLAGS="${CFLAGS}" \
|
|
LOCAL_LDFLAGS="${LDFLAGS}"
|
|
}
|
|
|
|
src_compile() {
|
|
append-cflags -Wno-error=incompatible-pointer-types
|
|
emake \
|
|
CC="$(tc-getCC)" \
|
|
CDEBUGFLAGS="${CFLAGS}" \
|
|
LOCAL_LDFLAGS="${LDFLAGS}"
|
|
}
|
|
|
|
src_install() {
|
|
dobin netrek
|
|
}
|