summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2016-04-26 01:42:46 -0400
committerMichael Sterrett <mr_bones_@gentoo.org>2016-04-26 01:43:11 -0400
commit44281eb5cd90586289f6ac71c502e12ed9b901e6 (patch)
tree0d19a4c832f7e97db57a8fbb9e6ebf0f40b843dd /games-server/mednafen-server/mednafen-server-0.5.2.ebuild
parentdev-games/cegui: version bump (diff)
downloadgentoo-44281eb5cd90586289f6ac71c502e12ed9b901e6.tar.gz
gentoo-44281eb5cd90586289f6ac71c502e12ed9b901e6.tar.bz2
gentoo-44281eb5cd90586289f6ac71c502e12ed9b901e6.zip
games-server/mednafen-server: initial commit - ebuild based on the one from Scall via bug #552178
Package-Manager: portage-2.2.26
Diffstat (limited to 'games-server/mednafen-server/mednafen-server-0.5.2.ebuild')
-rw-r--r--games-server/mednafen-server/mednafen-server-0.5.2.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/games-server/mednafen-server/mednafen-server-0.5.2.ebuild b/games-server/mednafen-server/mednafen-server-0.5.2.ebuild
new file mode 100644
index 000000000000..806ad93e2887
--- /dev/null
+++ b/games-server/mednafen-server/mednafen-server-0.5.2.ebuild
@@ -0,0 +1,37 @@
+# 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}/"
+}