games-util/mcrcon: remove depreacted games eclass
authorAustin English <wizardedit@gentoo.org>
Wed, 29 Jun 2016 22:37:08 +0000 (17:37 -0500)
committerAustin English <wizardedit@gentoo.org>
Wed, 29 Jun 2016 22:54:17 +0000 (17:54 -0500)
Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.2.28

games-util/mcrcon/mcrcon-0.0.5-r1.ebuild [new file with mode: 0644]

diff --git a/games-util/mcrcon/mcrcon-0.0.5-r1.ebuild b/games-util/mcrcon/mcrcon-0.0.5-r1.ebuild
new file mode 100644 (file)
index 0000000..224180e
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Remote connection client for Minecraft servers"
+HOMEPAGE="http://sourceforge.net/projects/mcrcon/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+S="${WORKDIR}"
+
+src_compile() {
+       # Flags taken from COMPILING.txt.
+       $(tc-getCC) ${CFLAGS} ${LDFLAGS} -std=gnu11 -pedantic -Wall -Wextra -o "${PN}" "${PN}.c" || die
+}
+
+src_install() {
+       default
+       dobin "${PN}"
+}