# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-action/parsec/parsec-0197.ebuild,v 1.11 2006/03/31 20:21:04 wolf31o2 Exp $ inherit games DESCRIPTION="Parsec - there is no safe distance" HOMEPAGE="http://openparsec.sourceforge.net/" SRC_URI="http://public.www.planetmirror.com/pub/parsec/${PV}/parsec_lan_build${PV}.tar.gz ftp://planetmirror.com/pub/parsec/${PV}/parsec_lan_build${PV}.tar.gz http://ftp.webmonster.de/pub/parsec/parsec_lan_build${PV}.tar.gz" RESTRICT="mirror strip" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 x86" IUSE="" DEPEND="|| ( x11-libs/libXi virtual/x11 ) virtual/opengl virtual/glut virtual/glu media-libs/openal x86? ( sys-libs/lib-compat ) amd64? ( app-emulation/emul-linux-x86-xlibs app-emulation/emul-linux-x86-compat )" S=${WORKDIR}/${PN} src_install() { local dir=${GAMES_PREFIX_OPT}/${PN} dogamesbin "${FILESDIR}/parsec" || die "dogamesbin failed" dodir "${dir}" # preserve execute permissions. bug #119081 cp -r * "${D}${dir}" || die "cp failed" sed -i \ -e "s:GENTOO_DIR:${dir}:" \ "${D}${GAMES_BINDIR}/parsec" \ || die "sed failed" prepgamesdirs }