summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-11 12:26:35 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-11 12:26:35 +0000
commit47f8ba0ac8d1440ebaa74200e3af6b6777be5f1b (patch)
treefb3668b891be6dd444a1643d20573e4224e149a3 /games-sports/gracer
parentsimulation games (diff)
downloadgentoo-2-47f8ba0ac8d1440ebaa74200e3af6b6777be5f1b.tar.gz
gentoo-2-47f8ba0ac8d1440ebaa74200e3af6b6777be5f1b.tar.bz2
gentoo-2-47f8ba0ac8d1440ebaa74200e3af6b6777be5f1b.zip
sports games !
Diffstat (limited to 'games-sports/gracer')
-rw-r--r--games-sports/gracer/ChangeLog11
-rw-r--r--games-sports/gracer/Manifest4
-rw-r--r--games-sports/gracer/files/0.1.5-gldefs.patch33
-rw-r--r--games-sports/gracer/files/digest-gracer-0.1.51
-rw-r--r--games-sports/gracer/gracer-0.1.5.ebuild48
5 files changed, 97 insertions, 0 deletions
diff --git a/games-sports/gracer/ChangeLog b/games-sports/gracer/ChangeLog
new file mode 100644
index 000000000000..5e9da9238d1b
--- /dev/null
+++ b/games-sports/gracer/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-games/gracer
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/gracer/ChangeLog,v 1.1 2003/09/11 12:26:35 vapier Exp $
+
+ 29 Jul 2003; Michael Sterrett <msterret@gentoo.org> gracer-0.1.5.ebuild:
+ depend on sed >=4
+
+*gracer-0.1.5 (30 Jul 2003)
+
+ 30 Jul 2003; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/games-sports/gracer/Manifest b/games-sports/gracer/Manifest
new file mode 100644
index 000000000000..000f93314dcb
--- /dev/null
+++ b/games-sports/gracer/Manifest
@@ -0,0 +1,4 @@
+MD5 da701b428613a3064d734d0fbe10dc2b gracer-0.1.5.ebuild 1041
+MD5 7d4c79d23fc5bab84c8ebb7f8a295f6c files/digest-gracer-0.1.5 64
+MD5 f978345d5296e011b2bfbd03e2820588 files/0.1.5-gldefs.patch 1068
+MD5 a840f23631f8d0d7f16c5d9bc4fa86c6 ChangeLog 436
diff --git a/games-sports/gracer/files/0.1.5-gldefs.patch b/games-sports/gracer/files/0.1.5-gldefs.patch
new file mode 100644
index 000000000000..825edff861dc
--- /dev/null
+++ b/games-sports/gracer/files/0.1.5-gldefs.patch
@@ -0,0 +1,33 @@
+--- src/glbind.c.orig 2003-07-30 00:18:37.000000000 -0400
++++ src/glbind.c 2003-07-30 00:19:32.000000000 -0400
+@@ -22,6 +22,8 @@
+ #include <unistd.h>
+ #include <GL/gl.h>
+ #include <GL/glut.h>
++#undef GL_EXT_texture_object
++#include <GL/glext.h>
+ #include <string.h>
+ #include <stdlib.h>
+ #include <ctype.h>
+--- src/glhash.h.orig 2003-07-30 00:20:32.000000000 -0400
++++ src/glhash.h 2003-07-30 00:20:58.000000000 -0400
+@@ -1,4 +1,5 @@
+ /* this file is generated automaticaly from GL/gl.h */
++#undef GL_EXT_paletted_texture
+ #include <GL/gl.h>
+
+ glWordList glwordlist[] = {
+@@ -632,13 +632,11 @@
+
+ #ifdef GL_SGIS_multitexture
+ {"selected_texture_sgis", GL_SELECTED_TEXTURE_SGIS},
+- {"selected_texture_coord_set_sgis", GL_SELECTED_TEXTURE_COORD_SET_SGIS},
+ {"max_textures_sgis", GL_MAX_TEXTURES_SGIS},
+ {"texture0_sgis", GL_TEXTURE0_SGIS},
+ {"texture1_sgis", GL_TEXTURE1_SGIS},
+ {"texture2_sgis", GL_TEXTURE2_SGIS},
+ {"texture3_sgis", GL_TEXTURE3_SGIS},
+- {"texture_coord_set_source_sgis", GL_TEXTURE_COORD_SET_SOURCE_SGIS},
+ #endif
+
+ #ifdef GL_EXT_multitexture
diff --git a/games-sports/gracer/files/digest-gracer-0.1.5 b/games-sports/gracer/files/digest-gracer-0.1.5
new file mode 100644
index 000000000000..68001d81cd63
--- /dev/null
+++ b/games-sports/gracer/files/digest-gracer-0.1.5
@@ -0,0 +1 @@
+MD5 b1bac84fdbe63c610d4b01bb57ca4d47 gracer-0.1.5.tar.gz 520599
diff --git a/games-sports/gracer/gracer-0.1.5.ebuild b/games-sports/gracer/gracer-0.1.5.ebuild
new file mode 100644
index 000000000000..aa37f98a615c
--- /dev/null
+++ b/games-sports/gracer/gracer-0.1.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/gracer/gracer-0.1.5.ebuild,v 1.1 2003/09/11 12:26:35 vapier Exp $
+
+inherit games eutils
+
+DESCRIPTION="3D motor sports simulator"
+HOMEPAGE="http://gracer.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gracer/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="gif jpeg png joystick"
+
+DEPEND="virtual/x11
+ virtual/glu
+ virtual/opengl
+ virtual/glut
+ dev-lang/tcl
+ >=sys-apps/sed-4
+ gif? ( media-libs/giflib )
+ jpeg? ( media-libs/jpeg )
+ png? ( media-libs/libpng )
+ media-libs/plib"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gldefs.patch
+}
+
+src_compile() {
+ egamesconf \
+ `use_enable joystick` \
+ `use_enable gif` \
+ `use_enable jpeg` \
+ `use_enable png` \
+ || die
+ sed -i 's:-lplibsl:-lplibsl -lplibul:' `find -name Makefile`
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+ dodoc AUTHORS ChangeLog NEWS README
+ prepgamesdirs
+}