diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /games-misc/c++robots/c++robots-0-r1.ebuild | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'games-misc/c++robots/c++robots-0-r1.ebuild')
-rw-r--r-- | games-misc/c++robots/c++robots-0-r1.ebuild | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/games-misc/c++robots/c++robots-0-r1.ebuild b/games-misc/c++robots/c++robots-0-r1.ebuild index bb398f5ac30a..06fad1c7d3c5 100644 --- a/games-misc/c++robots/c++robots-0-r1.ebuild +++ b/games-misc/c++robots/c++robots-0-r1.ebuild @@ -1,30 +1,26 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 + +inherit toolchain-funcs 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" +SRC_URI="mirror://gentoo/${PN}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" -IUSE="static" S=${WORKDIR}/${PN} +PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch ) -PATCHES=( - "${FILESDIR}/proper-coding.patch" -) - -src_compile() { - local myldflags="${LDFLAGS}" - use static && myldflags="${myldflags} -static" - emake CFLAGS="${CFLAGS}" LDFLAGS="${myldflags}" +src_configure() { + tc-export CXX } src_install() { dobin combat cylon target tracker - dodoc README + einstalldocs } |