# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-emulation/psemu-gpupetexgl2/psemu-gpupetexgl2-2.0.8.ebuild,v 1.1 2006/09/29 19:41:46 nyhm Exp $ inherit games DESCRIPTION="PSEmu XGL2 GPU" HOMEPAGE="http://www.pbernert.com/" SRC_URI="http://www.pbernert.com/gpupetexgl${PV//.}.tar.gz http://www.pbernert.com/pete_ogl2_shader_scale2x.zip http://www.pbernert.com/pete_ogl2_shader_simpleblur.zip" LICENSE="freedist" SLOT="0" KEYWORDS="~x86" RESTRICT="strip" IUSE="" RDEPEND="virtual/opengl" DEPEND="${RDEPEND} app-arch/unzip" S=${WORKDIR} src_install() { exeinto "${GAMES_LIBDIR}/psemu/plugins" doexe lib* || die "doexe failed" exeinto "${GAMES_LIBDIR}/psemu/cfg" doexe cfgPeteXGL2 || die "doexe failed" insinto "${GAMES_LIBDIR}/psemu/cfg" doins gpuPeteXGL2.cfg || die "doins failed" # now do our shader files! insinto "${GAMES_LIBDIR}/psemu/shaders" doins *.fp *.vp *.slf *.slv || die "doins failed" dodoc *.txt prepgamesdirs }