summaryrefslogtreecommitdiff
path: root/games-util/fteqcc/fteqcc-20250126.ebuild
blob: 98c327f9e5697e7cbf1e909f8338338c292310e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Quake-C compiler"
HOMEPAGE="https://www.fteqcc.org/"
MY_COMMIT="f767d952e3ad8bbcb52f1cd6e2e36a47e3dbaa87"
SRC_URI="https://github.com/fte-team/fteqw/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/fteqw-${MY_COMMIT}/engine/qclib"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test"

RDEPEND="sys-libs/zlib"
DEPEND="${RDEPEND}"

PATCHES=(
	"${FILESDIR}"/${P}-Makefile.patch
)

src_configure() {
	tc-export CC
}

src_install() {
	newbin fteqcc.bin fteqcc
	dodoc readme.txt
}