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-server/mednafen-server/mednafen-server-0.5.2.ebuild

38 lines
694 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit games
DESCRIPTION="Server for Mednafen emulator"
HOMEPAGE="http://mednafen.fobby.net/releases/"
SRC_URI="http://mednafen.fobby.net/releases/files/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND=""
S=${WORKDIR}/${PN}
src_prepare() {
mv standard.conf standard.conf.example || die
mv run.sh run.sh.example || die
}
src_install() {
dogamesbin src/${PN}
dodoc README *.example
prepgamesdirs
}
pkg_postinst() {
games_postinst
einfo "Example config file and run file can be found in"
einfo "/usr/share/doc/${PF}/"
}