games-arcade/circuslinux: Stop using games.eclass
authorPacho Ramos <pacho@gentoo.org>
Sun, 15 Apr 2018 18:15:36 +0000 (20:15 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 15 Apr 2018 19:00:15 +0000 (21:00 +0200)
Package-Manager: Portage-2.3.28, Repoman-2.3.9

games-arcade/circuslinux/circuslinux-1.0.3-r1.ebuild [new file with mode: 0644]

diff --git a/games-arcade/circuslinux/circuslinux-1.0.3-r1.ebuild b/games-arcade/circuslinux/circuslinux-1.0.3-r1.ebuild
new file mode 100644 (file)
index 0000000..bc3c43f
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop
+
+DESCRIPTION="clone of the Atari 2600 game \"Circus Atari\""
+SRC_URI="ftp://ftp.sonic.net/pub/users/nbs/unix/x/circus-linux/${P}.tar.gz"
+HOMEPAGE="http://www.newbreedsoftware.com/circus-linux/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+       media-libs/sdl-image[png]
+       media-libs/sdl-mixer[mod]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       default
+       sed -i \
+               -e "/^install-data-am/d" \
+               Makefile.in \
+               || die
+       sed -i \
+               -e 's/\$(pkgdatadir)/$(DESTDIR)&/' \
+               data/Makefile.in \
+               || die
+}
+
+src_install () {
+       default
+       newicon data/images/${PN}-icon.xpm ${PN}.xpm
+       make_desktop_entry ${PN} "Circus Linux!"
+}