You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-puzzle/pipewalker/pipewalker-0.9.4.ebuild

36 lines
886 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pipewalker/pipewalker-0.9.4.ebuild,v 1.4 2012/05/21 19:34:28 ssuominen Exp $
EAPI=2
inherit eutils flag-o-matic games
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"
src_configure() {
append-flags $(sdl-config --cflags)
egamesconf \
--disable-dependency-tracking \
--datadir="${GAMES_DATADIR_BASE}"
}
src_install() {
emake -C data DESTDIR="${D}" install || die
dogamesbin src/${PN} || die
doicon extra/${PN}.xpm
make_desktop_entry ${PN} PipeWalker
dodoc AUTHORS ChangeLog README
prepgamesdirs
}