games-util/gmqcc - 0.3.5 (gamerlay)

Search

Package Information

Description:
An Improved Quake C Compiler
Homepage:
http://graphitemaster.github.com/gmqcc/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.3.5 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit toolchain-funcs

DESCRIPTION="An Improved Quake C Compiler"
HOMEPAGE="http://graphitemaster.github.com/gmqcc/"
SRC_URI="https://github.com/graphitemaster/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

src_prepare() {
	default
	# fixed in git master
	sed -i -e "s:-Werror ::" Makefile || die
	sed -i -e "s:__FUNCTION__:__func__:" exec.c || die
}

src_configure() {
	tc-export CC
}

src_install() {
	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
	dodoc README AUTHORS TODO CHANGES
}

Manifest for 0.3.5

Type File Size Source URLs
DIST gmqcc-0.3.5.tar.gz 278090 bytes https://github.com/graphitemaster/gmqcc/archive/0.3.5.tar.gz