commit: 38189810d74986d44b14b73d0ca9f1a4e1a97672 Author: brian gloyer <brian.gloyer <AT> gmail <DOT> com> AuthorDate: Sun Jun 14 23:35:20 2020 +0000 Commit: Brian Gloyer <brian.gloyer <AT> gmail <DOT> com> CommitDate: Sun Jun 14 23:59:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=38189810
games-action/netrek-brmh: new package Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: brian gloyer <brian.gloyer <AT> gmail.com> games-action/netrek-brmh/Manifest | 1 + games-action/netrek-brmh/metadata.xml | 16 +++++++++ games-action/netrek-brmh/netrek-brmh-2.6.0.ebuild | 44 +++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/games-action/netrek-brmh/Manifest b/games-action/netrek-brmh/Manifest new file mode 100644 index 0000000..a2d3f21 --- /dev/null +++ b/games-action/netrek-brmh/Manifest @@ -0,0 +1 @@ +DIST netrek-brmh-2.6.0.tar.gz 294581 BLAKE2B 62c7f8d5d1e905ee1d7202eee7d2320920ff0389b077b34ab090d8b1f0fb3b3bc9d07b0375b8a367ad2bd3a0a92f596c46bb5e5d53b64d9f1ef955710a7b295d SHA512 c8651b8857e685a9a6da5f783ab80019517ab9c5af09a1eada4be8f7e9694cad32a39bbeaf271e07f08cd7266819ed7ea155af3f7cfc0781c70c4814aebb2e0c diff --git a/games-action/netrek-brmh/metadata.xml b/games-action/netrek-brmh/metadata.xml new file mode 100644 index 0000000..10c84fb --- /dev/null +++ b/games-action/netrek-brmh/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>brian.glo...@gmail.com</email> + <name>brian gloyer</name> + </maintainer> + <upstream> + <maintainer status="active"> + <email>brian.glo...@gmail.com</email> + <name>brian gloyer</name> + </maintainer> + <bugs-to>https://github.com/bgloyer/netrek-client-brmh/issues/</bugs-to> + <remote-id type="github">bgloyer/netrek-client-brmh</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-action/netrek-brmh/netrek-brmh-2.6.0.ebuild b/games-action/netrek-brmh/netrek-brmh-2.6.0.ebuild new file mode 100644 index 0000000..85ca096 --- /dev/null +++ b/games-action/netrek-brmh/netrek-brmh-2.6.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +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" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}/netrek-client-brmh-${PV}" + +RDEPEND=" + x11-base/xorg-proto + x11-libs/libX11 + x11-libs/libXmu +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + x11-misc/imake + x11-misc/gccmakedep +" + +src_configure() { + xmkmf || die + make depend || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CDEBUGFLAGS="${CFLAGS}" \ + LOCAL_LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin netrek +}