games-emulation/zinc: Stop using games.eclass
authorPacho Ramos <pacho@gentoo.org>
Sun, 29 Apr 2018 12:26:49 +0000 (14:26 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 29 Apr 2018 13:06:38 +0000 (15:06 +0200)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

games-emulation/zinc/zinc-1.1-r1.ebuild [new file with mode: 0644]

diff --git a/games-emulation/zinc/zinc-1.1-r1.ebuild b/games-emulation/zinc/zinc-1.1-r1.ebuild
new file mode 100644 (file)
index 0000000..69f75f4
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="An x86 binary-only emulator for Sony ZN-1, ZN-2, and Namco System 11 arcades"
+HOMEPAGE="http://caesar.logiqx.com/php/emulator.php?id=zinc_linux"
+SRC_URI="http://caesar.logiqx.com/zips/emus/linux/zinc_linux/${P//[-.]/}-lnx.tar.bz2"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+QA_PREBUILT="/opt/bin/zinc /usr/lib*/*.so"
+
+RDEPEND="
+       x11-libs/libXext[abi_x86_32(-)]
+       virtual/opengl[abi_x86_32(-)]
+"
+
+S="${WORKDIR}/zinc"
+
+src_install() {
+       exeinto /opt/bin
+       doexe zinc
+       dolib.so libcontrolznc.so librendererznc.so libsoundznc.so libs11player.so
+       einstalldocs
+}