mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
games-action/classicube: add 9999
Signed-off-by: Seth Price <sprice623@aol.com>
This commit is contained in:
28
games-action/classicube/classicube-9999.ebuild
Normal file
28
games-action/classicube/classicube-9999.ebuild
Normal 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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user