summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2021-08-02 19:03:11 +0200
committerIonen Wolkens <ionen@gentoo.org>2021-08-02 14:17:01 -0400
commit0859902ed83708c305d0be402da9e3f6feea260b (patch)
treefde1a0a390ae9f897a5c638db0f9f0d36701bbad /games-arcade/circuslinux
parentgames-arcade/ceferino: move gettext to BDEPEND (diff)
downloadgentoo-0859902ed83708c305d0be402da9e3f6feea260b.tar.gz
gentoo-0859902ed83708c305d0be402da9e3f6feea260b.tar.bz2
gentoo-0859902ed83708c305d0be402da9e3f6feea260b.zip
games-arcade/circuslinux: EAPI8, ebuild improvements
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-arcade/circuslinux')
-rw-r--r--games-arcade/circuslinux/circuslinux-1.0.3-r2.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/games-arcade/circuslinux/circuslinux-1.0.3-r2.ebuild b/games-arcade/circuslinux/circuslinux-1.0.3-r2.ebuild
new file mode 100644
index 000000000000..cc14d4936470
--- /dev/null
+++ b/games-arcade/circuslinux/circuslinux-1.0.3-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs
+
+DESCRIPTION="Clone of the Atari 2600 game \"Circus Atari\""
+SRC_URI="ftp://ftp.tuxpaint.org/unix/x/circus-linux/src/${P}.tar.gz"
+HOMEPAGE="http://www.newbreedsoftware.com/circus-linux/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~x86"
+
+DEPEND="
+ media-libs/libsdl[joystick,sound,video]
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer[mod]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ tc-export CC
+ sed -i 's/-O2//' Makefile.in || die
+ sed -i 's/$(pkgdatadir)/$(DESTDIR)&/' data/Makefile.in || die
+}
+
+src_configure() {
+ tc-export CC
+ econf --enable-joystick
+}
+
+src_install() {
+ emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}" install
+
+ newicon data/images/${PN}-icon.xpm ${PN}.xpm
+ make_desktop_entry ${PN} "Circus Linux!"
+}