Skip to content

Commit

Permalink
games-util/fteqcc: New Package
Browse files Browse the repository at this point in the history
  • Loading branch information
lanodan committed May 15, 2021
1 parent 9eada47 commit b716a9f
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
34 changes: 34 additions & 0 deletions games-util/fteqcc/fteqcc-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
7 changes: 7 additions & 0 deletions games-util/fteqcc/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit b716a9f

Please sign in to comment.