# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-arcade/criticalmass/criticalmass-1.0.0.ebuild,v 1.2 2008/04/18 19:34:48 mr_bones_ Exp $ inherit eutils games DESCRIPTION="SDL/OpenGL space shoot'em up game" HOMEPAGE="http://criticalmass.sourceforge.net/" SRC_URI="mirror://sourceforge/criticalmass/CriticalMass-${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 x86 ~ppc" IUSE="" DEPEND="media-libs/sdl-mixer media-libs/sdl-image virtual/opengl" S=${WORKDIR}/CriticalMass-${PV} src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-gcc43.patch" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dohtml Readme.html dodoc TODO newicon critter.png ${PN}.png make_desktop_entry critter "Critical Mass" prepgamesdirs }