summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-05-01 15:51:19 +0200
committerPacho Ramos <pacho@gentoo.org>2018-05-01 21:34:00 +0200
commit1bd9cce3c75f3b03407b6ad1fd68c909d77e664f (patch)
treede3ae8d21786abdf459b233c94ec1d9da9ffeb1f /games-puzzle
parentgames-puzzle/pipepanic: Drop old (diff)
downloadgentoo-1bd9cce3c75f3b03407b6ad1fd68c909d77e664f.tar.gz
gentoo-1bd9cce3c75f3b03407b6ad1fd68c909d77e664f.tar.bz2
gentoo-1bd9cce3c75f3b03407b6ad1fd68c909d77e664f.zip
games-puzzle/pipewalker: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/pipewalker/pipewalker-0.9.4-r1.ebuild32
1 files changed, 32 insertions, 0 deletions
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
+}