# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-arcade/shadowplay/shadowplay-08222005.ebuild,v 1.1 2005/12/27 11:54:36 egore Exp $ inherit toolchain-funcs games DESCRIPTION="a game framework that makes it easy to write games that use video as the input" HOMEPAGE="http://developer.berlios.de/projects/shadowplay/" SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/opengl media-libs/libsdl" RDEPEND="" src_unpack() { unpack ${A} cd ${S} rm ${PN} sed -i \ -e "/COMPILE/s:c++ -O3:$(tc-getCXX) ${CFLAGS}:" \ Makefile || die "sed Makefile failed" } src_install() { insinto ${GAMES_DATADIR}/${PN} doins -r data || die "installing data failed" exeinto ${GAMES_DATADIR}/${PN} doexe ${PN} || die "installing binary failed" games_make_wrapper ${PN} ./${PN} ${GAMES_DATADIR}/${PN} dodoc NOTES prepgamesdirs }