summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-10 19:29:16 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-10 19:29:16 +0000
commit6b2c6aa5f4161d5fcd009e3e5f2e9d84539b25f3 (patch)
tree5578c0bf4dcb7768e6bc8e22c99c359d60cb6c8e /games-action/glaxium
parentgames action and arcade (diff)
downloadhistorical-6b2c6aa5f4161d5fcd009e3e5f2e9d84539b25f3.tar.gz
historical-6b2c6aa5f4161d5fcd009e3e5f2e9d84539b25f3.tar.bz2
historical-6b2c6aa5f4161d5fcd009e3e5f2e9d84539b25f3.zip
action games !
Diffstat (limited to 'games-action/glaxium')
-rw-r--r--games-action/glaxium/ChangeLog9
-rw-r--r--games-action/glaxium/Manifest4
-rw-r--r--games-action/glaxium/files/0.5-20021024-Makefile.in60
-rw-r--r--games-action/glaxium/files/digest-glaxium-0.51
-rw-r--r--games-action/glaxium/glaxium-0.5.ebuild49
5 files changed, 123 insertions, 0 deletions
diff --git a/games-action/glaxium/ChangeLog b/games-action/glaxium/ChangeLog
new file mode 100644
index 000000000000..5bb5bcc2d7a3
--- /dev/null
+++ b/games-action/glaxium/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-games/glaxium
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/glaxium/ChangeLog,v 1.1 2003/09/10 19:29:16 vapier Exp $
+
+*glaxium-0.5 (19 Jun 2003)
+
+ 19 Jun 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Thomas R. (TRauMa) <trauma@web.de>
+ and Bret Towe <btowe@gbis.com> #6752.
diff --git a/games-action/glaxium/Manifest b/games-action/glaxium/Manifest
new file mode 100644
index 000000000000..d8fc8051752c
--- /dev/null
+++ b/games-action/glaxium/Manifest
@@ -0,0 +1,4 @@
+MD5 212dd0d8320e312c0a29910c5de3132f ChangeLog 410
+MD5 a995a132c40217fc3885aee44ecab774 glaxium-0.5.ebuild 1134
+MD5 0f6b18c91605590e15fd79f7026e6a1f files/0.5-20021024-Makefile.in 1263
+MD5 0ab557289a7610d1984e43634d0be398 files/digest-glaxium-0.5 64
diff --git a/games-action/glaxium/files/0.5-20021024-Makefile.in b/games-action/glaxium/files/0.5-20021024-Makefile.in
new file mode 100644
index 000000000000..0b420a978c58
--- /dev/null
+++ b/games-action/glaxium/files/0.5-20021024-Makefile.in
@@ -0,0 +1,60 @@
+
+CC=@CXX@
+INCLUDE=@CFLAGS@ @CPPFLAGS@
+LIB=@LIBS@
+
+OBJ= $(patsubst %.cpp,%.o,$(wildcard *.cpp))
+DATE=`date +"%d.%m.%Y"`
+
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+datadir=@datadir@
+bindir=@bindir@
+mandir=@mandir@
+
+GLAXIUM_INSTALLDIR=$(bindir)
+DATA_DIRS=samples textures
+GLAXIUM_HOME=$(datadir)/games/glaxium
+MAN_DIR=$(mandir)
+
+glaxium : $(OBJ)
+ gcc -g -o glaxium $(OBJ) $(LIB)
+
+
+
+nosound:
+ (SOUND=no; make)
+
+clean:
+ rm -f $(OBJ) glaxium config.log config.cache config.status aclocal.m4 *~
+
+
+%.o : %.cpp
+ $(CC) -c $(INCLUDE) $< -o $@ -DDATADIR=\"$(GLAXIUM_HOME)\"
+
+
+install: glaxium
+ @echo Instaling glaxium in $(GLAXIUM_INSTALLDIR) and its data in $(GLAXIUM_HOME)
+
+ @if [ ! -d $(DESTDIR)$(GLAXIUM_HOME) ] ; then \
+ mkdir -p $(DESTDIR)$(GLAXIUM_HOME) ; \
+ fi
+
+ @if [ ! -d $(DESTDIR)$(GLAXIUM_INSTALLDIR) ] ; then \
+ mkdir -p $(DESTDIR)$(GLAXIUM_INSTALLDIR) ; \
+ fi
+
+ @if [ ! -d $(DESTDIR)$(MAN_DIR)/man6 ] ; then \
+ mkdir -p $(DESTDIR)$(MAN_DIR)/man6 ; \
+ fi
+
+ @cp -f glaxium $(DESTDIR)$(GLAXIUM_INSTALLDIR)/
+ @cp -R $(DATA_DIRS) $(DESTDIR)$(GLAXIUM_HOME)
+ @cp -f glaxium.6 $(DESTDIR)$(MAN_DIR)/man6/glaxium.6
+
+uninstall:
+ @echo Uninstaling glaxium
+ rm -f $(GLAXIUM_INSTALLDIR)/glaxium
+ rm -rf $(GLAXIUM_HOME)
+ rm -f $(MAN_DIR)/man6/glaxium.6
diff --git a/games-action/glaxium/files/digest-glaxium-0.5 b/games-action/glaxium/files/digest-glaxium-0.5
new file mode 100644
index 000000000000..c382f2d9ccbb
--- /dev/null
+++ b/games-action/glaxium/files/digest-glaxium-0.5
@@ -0,0 +1 @@
+MD5 ea6d6f8b4ebb7c73b74af64d83f45cb7 glaxium_0.5.tar.gz 1692219
diff --git a/games-action/glaxium/glaxium-0.5.ebuild b/games-action/glaxium/glaxium-0.5.ebuild
new file mode 100644
index 000000000000..af1f08503931
--- /dev/null
+++ b/games-action/glaxium/glaxium-0.5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/glaxium/glaxium-0.5.ebuild,v 1.1 2003/09/10 19:29:16 vapier Exp $
+
+inherit games flag-o-matic
+
+DESCRIPTION="OpenGL-based space-ship shoot-em-up style 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"
+
+DEPEND=">=libsdl-1.1.5
+ >=media-libs/sdl-mixer-1.2.4
+ virtual/x11
+ virtual/opengl
+ virtual/glu
+ virtual/glut
+ >=libpng-1.0.0"
+
+S=${WORKDIR}/${PN}_${PV}
+
+pkg_setup() {
+ ewarn "This currently only compiles with XFree OpenGL support"
+ ewarn "Use \`opengl-update xfree\` before emerging"
+}
+
+src_unpack() {
+ unpack ${A}
+ cp ${FILESDIR}/${PV}-20021024-Makefile.in ${S}/
+}
+
+src_compile() {
+ append-flags -DGL_GLEXT_LEGACY
+ egamesconf --datadir=${GAMES_DATADIR_BASE} || die
+ make || die
+}
+
+src_install() {
+ dodir ${GAMES_BINDIR}
+ egamesinstall \
+ exec_prefix=${D}/${GAMES_PREFIX} \
+ datadir=${D}/${GAMES_DATADIR_BASE} \
+ || die
+ dodoc README.txt CHANGES.txt
+ prepgamesdirs
+}