logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: b716a9fa4b28dbead4adbe9832e91f441b83ede5
parent 9eada47140c0eff0c62763d9e9a237ea9b55965c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu,  6 May 2021 06:35:38 +0200

games-util/fteqcc: New Package

Diffstat:

Agames-util/fteqcc/fteqcc-9999.ebuild34++++++++++++++++++++++++++++++++++
Agames-util/fteqcc/metadata.xml7+++++++
2 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/games-util/fteqcc/fteqcc-9999.ebuild b/games-util/fteqcc/fteqcc-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit subversion edos2unix toolchain-funcs + +DESCRIPTION="FTE QuakeC compiler" +HOMEPAGE="http://fteqw.sourceforge.net/" +ESVN_REPO_URI="https://svn.code.sf.net/p/fteqw/code/trunk" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" + +src_prepare() { + default + + # Thanks subversion.eclass for targetting ${S} instead of ${WORKDIR} + export S="${WORKDIR}/${P}/engine/qclib/" + cd "${S}" || die + + edos2unix readme.txt +} + +src_configure() { + tc-export CC +} + +src_install() { + newbin fteqcc.bin fteqcc + dodoc readme.txt +} diff --git a/games-util/fteqcc/metadata.xml b/games-util/fteqcc/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <remote-id type="sourceforge">fteqw</remote-id> + </upstream> +</pkgmetadata>