You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-util/mcrcon/mcrcon-0.0.5.ebuild

27 lines
584 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit toolchain-funcs games
DESCRIPTION="Remote connection client for Minecraft servers"
HOMEPAGE="https://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() {
dogamesbin "${PN}"
dodoc README.txt
}