diff options
Diffstat (limited to 'games-misc/c++robots/c++robots-0.ebuild')
-rw-r--r-- | games-misc/c++robots/c++robots-0.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/games-misc/c++robots/c++robots-0.ebuild b/games-misc/c++robots/c++robots-0.ebuild new file mode 100644 index 000000000000..a243b7276085 --- /dev/null +++ b/games-misc/c++robots/c++robots-0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils games + +DESCRIPTION="ongoing 'King of the Hill' (KotH) tournament" +HOMEPAGE="http://www.gamerz.net/c++robots/" +SRC_URI="http://www.gamerz.net/c++robots/c++robots.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="x86 ppc" +IUSE="static" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}/proper-coding.patch" +} + +src_compile() { + local myldflags="${LDFLAGS}" + use static && myldflags="${myldflags} -static" + emake CFLAGS="${CFLAGS}" LDFLAGS="${myldflags}" +} + +src_install() { + dogamesbin combat cylon target tracker + dodoc README + prepgamesdirs +} |