#------------------------------------------------------------------------------ # Alpha Shooter # A 3D OpenGL First-Person Shooter game # Copyright (C) 2005, 2006, 2007 Nicola Cocchiaro # Alpha Shooter can be found at http://www.sf.net/projects/alphashooter. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 3 (or, at your # option, any later version) as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #------------------------------------------------------------------------------ # # Simple ebuild file for the Alpha Shooter 3D FPS game by Nicola Cocchiaro # ebuild by Roberto Sottile # # Distributed under the terms of the GNU General Public License v3 # inherit eutils games DESCRIPTION="a 3D OpenGL First-Person Shooter game" HOMEPAGE="http://${PN}.sourceforge.net/" SRC_URI="http://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="GPL-3" KEYWORDS="x86 amd64 ppc" IUSE="" SLOT="0" DEPEND="virtual/opengl virtual/glu virtual/glut" RDEPEND="virtual/opengl virtual/glu virtual/glut" src_compile() { emake linux || die "emake linux failed" } src_install() { dogamesbin ${PN} || die "dogamesbin failed" insinto "${GAMES_DATADIR}"/${PN}/data doins -r data/* || die "doins failed" make_desktop_entry ${PN} "AlphaShooter" dodoc README prepgamesdirs }