From 1bd9cce3c75f3b03407b6ad1fd68c909d77e664f Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Tue, 1 May 2018 15:51:19 +0200 Subject: games-puzzle/pipewalker: Stop using games.eclass Package-Manager: Portage-2.3.31, Repoman-2.3.9 --- games-puzzle/pipewalker/pipewalker-0.9.4-r1.ebuild | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 games-puzzle/pipewalker/pipewalker-0.9.4-r1.ebuild (limited to 'games-puzzle') diff --git a/games-puzzle/pipewalker/pipewalker-0.9.4-r1.ebuild b/games-puzzle/pipewalker/pipewalker-0.9.4-r1.ebuild new file mode 100644 index 000000000000..bab059bfdd7e --- /dev/null +++ b/games-puzzle/pipewalker/pipewalker-0.9.4-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop flag-o-matic + +DESCRIPTION="Rotating pieces puzzle game" +HOMEPAGE="http://pipewalker.sourceforge.net/" +SRC_URI="mirror://sourceforge/pipewalker/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[opengl,video] + virtual/opengl + virtual/glu" +RDEPEND="${DEPEND}" + +src_configure() { + append-flags $(sdl-config --cflags) + econf --datadir="/usr/share" +} + +src_install() { + emake -C data DESTDIR="${D}" install + dobin src/${PN} + doicon extra/${PN}.xpm + make_desktop_entry ${PN} PipeWalker + einstalldocs +} -- cgit v1.2.3-65-gdbad