# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Glaxium is an OpenGL-based space-ship shoot-em-up styled game." HOMEPAGE="http://xhosxe.free.fr/glaxium/" SRC_URI="http://xhosxe.free.fr/glaxium/glaxium_${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" # It needs OpenGL but there's no hint which versions DEPEND=">=libsdl-1.1.5 virtual/x11 virtual/opengl virtual/glu virtual/glut >=libpng-1.0.0" RDEPEND="virtual/x11 virtual/glut virtual/glu virtual/opengl >=libpng-1.0.0" S="${WORKDIR}/${P/-/_}" src_compile() { ./configure \ --host=${CHOST} \ --prefix=/usr \ --exec-prefix=/usr \ --mandir=/usr/share/man || die "./configure failed" sed "{s/games\/glaxium/glaxium/}" conf.h > tmp mv tmp conf.h emake || die } src_install () { dobin glaxium dodir /usr/share/glaxium cp -R samples ${D}usr/share/glaxium cp -R textures ${D}usr/share/glaxium doman glaxium.6 dodoc README CHANGES }