summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-server')
-rw-r--r--games-server/mednafen-server/mednafen-server-0.5.2-r1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/games-server/mednafen-server/mednafen-server-0.5.2-r1.ebuild b/games-server/mednafen-server/mednafen-server-0.5.2-r1.ebuild
new file mode 100644
index 000000000000..4ee567f19c66
--- /dev/null
+++ b/games-server/mednafen-server/mednafen-server-0.5.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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() {
+ default
+
+ mv standard.conf standard.conf.example || die
+ mv run.sh run.sh.example || die
+}
+
+src_install() {
+ dobin src/${PN}
+ dodoc README *.example
+}
+
+pkg_postinst() {
+ einfo "Example config file and run file can be found in"
+ einfo "/usr/share/doc/${PF}/"
+}