games-action/classicube: add 9999

Signed-off-by: Seth Price <sprice623@aol.com>
This commit is contained in:
Seth Price 2023-08-21 21:13:29 -04:00
parent 8c55813225
commit 79cb9cbb17
No known key found for this signature in database
GPG Key ID: 2A8A588A11B30662

View File

@ -0,0 +1,28 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 toolchain-funcs
DESCRIPTION="Reverse-engineered Minecraft Classic client"
HOMEPAGE="https://www.classicube.net/"
EGIT_REPO_URI="https://github.com/UnknownShadow200/ClassiCube.git"
LICENSE="BSD MIT FTL"
SLOT="0"
DEPEND="x11-libs/libX11 x11-libs/libXi virtual/opengl"
RDEPEND="${DEPEND}"
src_compile() {
$(tc-getCC) ${CFLAGS} ${LDFLAGS} src/*.c -o ClassiCube -rdynamic -lm -lpthread -lX11 -lXi -lGL -ldl || die
}
src_install() {
exeinto "/usr/libexec"
doexe ClassiCube
dobin "${FILESDIR}/ClassiCube"
dodoc readme.md
dodoc doc/*.md
}