diff options
author | Seth Price <sprice623@aol.com> | 2023-08-21 21:13:29 -0400 |
---|---|---|
committer | Seth Price <sprice623@aol.com> | 2023-08-21 21:13:29 -0400 |
commit | 79cb9cbb17f87d4d40387e5c2f163f5dbb8d624d (patch) | |
tree | fff0ac3f1d9a4bacd71c35f8e53ac370775a2568 /games-action | |
parent | dev-vcs/lazygit: fix src_compile() and "--version" cmd output (diff) | |
download | guru-79cb9cbb17f87d4d40387e5c2f163f5dbb8d624d.tar.gz guru-79cb9cbb17f87d4d40387e5c2f163f5dbb8d624d.tar.bz2 guru-79cb9cbb17f87d4d40387e5c2f163f5dbb8d624d.zip |
games-action/classicube: add 9999
Signed-off-by: Seth Price <sprice623@aol.com>
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/classicube/classicube-9999.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/games-action/classicube/classicube-9999.ebuild b/games-action/classicube/classicube-9999.ebuild new file mode 100644 index 000000000..71ea6881c --- /dev/null +++ b/games-action/classicube/classicube-9999.ebuild @@ -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 +} |