# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A QuakeC compiler" HOMEPAGE="http://inside3d.com/frikbot/projects.shtml" SRC_URI="http://wiki.quakesrc.org/files/frik${PV//.}src.zip" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" S="${WORKDIR}/${PN//qcc}${PV//.}src/compiler" src_compile() { cd ${S} # Puts system's CFLAGS into makefile sed -i "s/OPT = \$(POPT)/OPT = ${CFLAGS}/" makefile MAKEOPTS="-j1" emake || die "emake failed" } src_install() { # Installs frikqcc binary. dobin frikqcc }