1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils flag-o-matic
7 DESCRIPTION="Multiplayer, networked game of little tanks with really big weapons"
8 HOMEPAGE="http://www.nongnu.org/koth/"
9 SRC_URI="https://savannah.nongnu.org/download/${PN}/default.pkg/${PV}/${P}.tar.bz2"
13 KEYWORDS="~alpha ~amd64 ~x86 ~x86-fbsd"
16 DEPEND="media-libs/libggi"
20 "${FILESDIR}"/${PF}-gcc-3.4.patch
25 sed -i 's:-g -O2::' configure || die
26 sed -i 's:(uint16):(uint16_t):' src/gfx.c src/gfx.h || die
27 append-cflags -std=gnu89 # build with gcc5 (bug #570730)
31 DOCS="AUTHORS ChangeLog NEWS README doc/*.txt" \