Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/mcrcon/
Date: Wed, 29 Jun 2016 22:54:31
Message-Id: 1467240857.ce0efe07e55e9d2f09e0fa1c9f7f7bf5672d7c7d.wizardedit@gentoo
1 commit: ce0efe07e55e9d2f09e0fa1c9f7f7bf5672d7c7d
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 29 22:37:08 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 29 22:54:17 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce0efe07
7
8 games-util/mcrcon: remove depreacted games eclass
9
10 Also update to EAPI 6
11
12 Gentoo-Bug: https://bugs.gentoo.org/574082
13
14 Package-Manager: portage-2.2.28
15
16 games-util/mcrcon/mcrcon-0.0.5-r1.ebuild | 27 +++++++++++++++++++++++++++
17 1 file changed, 27 insertions(+)
18
19 diff --git a/games-util/mcrcon/mcrcon-0.0.5-r1.ebuild b/games-util/mcrcon/mcrcon-0.0.5-r1.ebuild
20 new file mode 100644
21 index 0000000..224180e
22 --- /dev/null
23 +++ b/games-util/mcrcon/mcrcon-0.0.5-r1.ebuild
24 @@ -0,0 +1,27 @@
25 +# Copyright 1999-2016 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Id$
28 +
29 +EAPI=6
30 +
31 +inherit toolchain-funcs
32 +
33 +DESCRIPTION="Remote connection client for Minecraft servers"
34 +HOMEPAGE="http://sourceforge.net/projects/mcrcon/"
35 +SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
36 +LICENSE="ZLIB"
37 +SLOT="0"
38 +KEYWORDS="~amd64"
39 +IUSE=""
40 +
41 +S="${WORKDIR}"
42 +
43 +src_compile() {
44 + # Flags taken from COMPILING.txt.
45 + $(tc-getCC) ${CFLAGS} ${LDFLAGS} -std=gnu11 -pedantic -Wall -Wextra -o "${PN}" "${PN}.c" || die
46 +}
47 +
48 +src_install() {
49 + default
50 + dobin "${PN}"
51 +}