# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-action/slune/slune-0.6.1.ebuild,v 1.8 2004/06/24 21:59:15 agriffis Exp $ inherit distutils games DESCRIPTION=" A futuristic style racing game written using soya (an opengl 3d engine) and python." HOMEPAGE="http://pywracer.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P/-/.}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/x11 virtual/opengl >=dev-lang/python-2.3 >=dev-python/soya-0.8 >=dev-python/py2play-0.1.6 >=dev-python/elementtree-1.2" S="${WORKDIR}/${P/-/.}" src_compile() { einfo "Currently nothing to be done" } src_install() { dodir "${GAMES_DATADIR}/${PN}" || die "dodir failed" find . -name CVS | xargs rm -rf || die "removing CVS dirs failed" cp -r data tools *.py* "${D}${GAMES_DATADIR}/${PN}" || die "cp failed" dodoc README echo "#!/bin/sh cd ${GAMES_DATADIR}/${PN} python racing.py" > pywracer dogamesbin pywracer || die "dogamesbin failed" prepgamesdirs }