summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-10-20 15:07:35 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-10-20 15:07:35 +0000
commitb9caf1070af24352a29d44069265ab143d6dcfa7 (patch)
treee66d665e637a11113db49e6a8ba3705198aa6322 /games-simulation/crashtest
parentold (diff)
downloadgentoo-2-b9caf1070af24352a29d44069265ab143d6dcfa7.tar.gz
gentoo-2-b9caf1070af24352a29d44069265ab143d6dcfa7.tar.bz2
gentoo-2-b9caf1070af24352a29d44069265ab143d6dcfa7.zip
old
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-simulation/crashtest')
-rw-r--r--games-simulation/crashtest/Manifest3
-rw-r--r--games-simulation/crashtest/crashtest-1.0.ebuild43
-rw-r--r--games-simulation/crashtest/files/crashtest-1.0-gentoo.patch112
3 files changed, 0 insertions, 158 deletions
diff --git a/games-simulation/crashtest/Manifest b/games-simulation/crashtest/Manifest
index 742e49406d10..f139279a5383 100644
--- a/games-simulation/crashtest/Manifest
+++ b/games-simulation/crashtest/Manifest
@@ -1,8 +1,5 @@
-AUX crashtest-1.0-gentoo.patch 3668 RMD160 f9c58459b7e1d7193be6016d87f2e575a3296de4 SHA1 8c6fccedb4473cf5ef0caceed1a0975c5d127c32 SHA256 e2ece1fe44204ad7e1154d077b491fd2ec3cbc3e57674d6deeb4ff2f84f1b635
AUX crashtest-1.1-gentoo.patch 3678 RMD160 636c92221039e177ad87930813bbd9d67da7e1e0 SHA1 d7a1fd872587275c78d8e02dcce28adeb2b449f9 SHA256 4944ae160b3f256c1f064cc1f4bac30abe9e85566f4efc486cd3de09f9f9733e
-DIST crashtest-1.0.tar.gz 666803 RMD160 e18710d52d6f600972421734619118ad3fa0bbcf SHA1 59cca81b0077065c4d02ae4a6233eb7691ac3d2a SHA256 6703c104879742f6aa350e4eeedd2ddc7dd2f7ee3f0dc2141c2c80bbe8415b30
DIST crashtest-1.1.tar.gz 134769 RMD160 5144a130e78eeb3de7171abd25c180af3800af04 SHA1 fb6bcbfd5eaf86b2dc92dafb4ff191013a19be67 SHA256 55c5ce29857263ceebc1c3f42c153f275dfc47711e9248395fd4398d6ef52ab9
-EBUILD crashtest-1.0.ebuild 1062 RMD160 84bfbbaa7ac8ee27c949159ded50bfc40fd679da SHA1 587197c3816613a8fc20bb48c0c873a7c9ff1061 SHA256 d084f9afeacd755dd565dc4b320611166910d65b319f2b67a751c1fabeb25c0f
EBUILD crashtest-1.1.ebuild 1062 RMD160 92062c33927e74fbeae4d2af1365de36d0165ad5 SHA1 09c0ed89a5fc0393e60819c7641f1ebaaae88a70 SHA256 b6641ce6a7bdc02cde3293abccd1aa67cadc9a686365e942559642dc33812cf7
MISC ChangeLog 1079 RMD160 e2caf702eb99e2769036a8b127ade5842e4c6ff6 SHA1 185c687af64fe9656df114fd3a479de77834b925 SHA256 180ab1313653bcdf3965848bca449bb426c21f3cf22d0fa057d5666b4c54ab50
MISC metadata.xml 471 RMD160 5ba1a7080b163839fdde2dd0de2bdd3ca9c23976 SHA1 ce199d60ce53ba9e2dde890ed56ee14bbbcd678a SHA256 b19704a1460e3b85a2725fcb2172b87c8c5a452fd6d1d5c509077deb7b62504e
diff --git a/games-simulation/crashtest/crashtest-1.0.ebuild b/games-simulation/crashtest/crashtest-1.0.ebuild
deleted file mode 100644
index 37b5211cd49c..000000000000
--- a/games-simulation/crashtest/crashtest-1.0.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/crashtest/crashtest-1.0.ebuild,v 1.5 2009/01/22 20:21:06 mr_bones_ Exp $
-
-EAPI=2
-inherit eutils flag-o-matic games
-
-DESCRIPTION="Educational car crash simulator"
-HOMEPAGE="http://bram.creative4vision.nl/crashtest/"
-SRC_URI="http://bram.creative4vision.nl/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="x11-libs/fltk:1.1[opengl]
- dev-games/ode
- media-libs/alsa-lib
- virtual/opengl
- virtual/glu
- virtual/glut"
-DEPEND="${RDEPEND}
- >=media-libs/plib-1.8.4"
-
-S=${WORKDIR}/${P}/src-${PN}
-
-src_prepare() {
- epatch "${FILESDIR}/${P}"-gentoo.patch
- sed -i \
- -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
- -e "s:@GENTOO_BINDIR@:${GAMES_BINDIR}:" \
- Makefile ${PN}.cxx \
- || die "sed failed"
- append-flags -DHAVE_ISNANF
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc README
- make_desktop_entry ${PN} Crashtest
- prepgamesdirs
-}
diff --git a/games-simulation/crashtest/files/crashtest-1.0-gentoo.patch b/games-simulation/crashtest/files/crashtest-1.0-gentoo.patch
deleted file mode 100644
index 48a213651a33..000000000000
--- a/games-simulation/crashtest/files/crashtest-1.0-gentoo.patch
+++ /dev/null
@@ -1,112 +0,0 @@
-diff -ru crashtest-1.0.orig/src-crashtest/Makefile crashtest-1.0/src-crashtest/Makefile
---- crashtest-1.0.orig/src-crashtest/Makefile 2006-10-25 12:08:52.000000000 -0400
-+++ crashtest-1.0/src-crashtest/Makefile 2009-01-22 02:28:47.000000000 -0500
-@@ -1,34 +1,12 @@
--# EDIT THESE SETTINGS
--
--PLIBPREFIX=/usr
--ODEPREFIX=/usr
--CXX=g++
--
--#PLIBPREFIX=$(HOME)
--#ODEPREFIX=$(HOME)
--#CXX=g++-4.0
--
--# END OF CUSTOM SETTINGS
--
--CXXFLAGS=\
-- -I$(ODEPREFIX)/include \
-- -I$(PLIBPREFIX)/include \
-- -I../src-common \
-- -O2 -g -Wall
--
--LFLAGS=\
-- -L$(PLIBPREFIX)/lib \
-- -L/usr/X11R6/lib
--
- OBJS=staticworldobject.o crashtest.o dynamicobject.o cartobject.o
-
--LIBS= $(ODEPREFIX)/lib/libode.a -lplibssgaux -lplibssg -lplibsg -lplibpu -lplibfnt -lplibul -lGLU -lGL -lasound `fltk-config --use-gl --use-images --ldflags` -lglut
-+LIBS= `ode-config --libs` -lplibssgaux -lplibssg -lplibsg -lplibpu -lplibfnt -lplibul -lGLU -lGL -lasound `fltk-config --use-gl --use-images --ldflags` -lglut
-
-
- all: crashtest
-
- crashtest: $(OBJS)
-- $(CXX) -o crashtest $(OBJS) $(LFLAGS) $(LIBS)
-+ $(CXX) -o crashtest $(OBJS) $(LDFLAGS) $(LIBS)
-
- staticworldobject.o: ../src-common/staticworldobject.cxx ../src-common/staticworldobject.h ../src-common/worldobject.h
- $(CXX) -c $(CXXFLAGS) ../src-common/staticworldobject.cxx
-@@ -37,10 +15,10 @@
- $(CXX) -c $(CXXFLAGS) ../src-common/dynamicobject.cxx
-
- cartobject.o: cartobject.cxx cartobject.h
-- $(CXX) -c $(CXXFLAGS) cartobject.cxx
-+ $(CXX) -c $(CXXFLAGS) -I../src-common cartobject.cxx
-
- crashtest.o: crashtest.cxx crashworld.h ../src-common/modelmap.h cartobject.h bipedobject.h ../src-common/brickwall.h ../src-common/stereocontext.h ../src-common/usercam.h
-- $(CXX) -c $(CXXFLAGS) crashtest.cxx
-+ $(CXX) -c $(CXXFLAGS) -I../src-common crashtest.cxx
-
-
-
-@@ -48,13 +26,13 @@
- PLODE_DATADIR=`pwd` ./crashtest
-
-
--GAMEDIR=$(DESTDIR)/usr/share/games/crashtest
-+GAMEDIR=$(DESTDIR)@GENTOO_DATADIR@
- install: crashtest
- # Directories
-- mkdir -p $(DESTDIR)/usr/games/
-+ mkdir -p $(DESTDIR)@GENTOO_BINDIR@
- mkdir -p $(GAMEDIR)/models/
- # Binary
-- install crashtest $(DESTDIR)/usr/games/crashtest
-+ install crashtest $(DESTDIR)@GENTOO_BINDIR@
- # Models
- install -m 644 models/testground.3ds $(GAMEDIR)/models/testground.3ds
- install -m 644 models/biped_torso.3ds $(GAMEDIR)/models/biped_torso.3ds
-Only in crashtest-1.0/src-crashtest: Makefile.orig
-diff -ru crashtest-1.0.orig/src-crashtest/crashtest.cxx crashtest-1.0/src-crashtest/crashtest.cxx
---- crashtest-1.0.orig/src-crashtest/crashtest.cxx 2006-10-25 11:45:26.000000000 -0400
-+++ crashtest-1.0/src-crashtest/crashtest.cxx 2009-01-22 02:32:00.000000000 -0500
-@@ -11,14 +11,14 @@
-
- #include <GL/glu.h>
-
--#include <FL/Fl.H>
--#include <FL/Fl_Box.H>
--#include <FL/Fl_Button.H>
--#include <FL/Fl_Check_Button.H>
--#include <FL/Fl_Chart.H>
--#include <FL/Fl_Value_Slider.H>
--#include <FL/Fl_Gl_Window.H>
--#include <FL/fl_draw.H>
-+#include <fltk-1.1/FL/Fl.H>
-+#include <fltk-1.1/FL/Fl_Box.H>
-+#include <fltk-1.1/FL/Fl_Button.H>
-+#include <fltk-1.1/FL/Fl_Check_Button.H>
-+#include <fltk-1.1/FL/Fl_Chart.H>
-+#include <fltk-1.1/FL/Fl_Value_Slider.H>
-+#include <fltk-1.1/FL/Fl_Gl_Window.H>
-+#include <fltk-1.1/FL/fl_draw.H>
-
- #include <plib/ssg.h>
- #include <plib/ul.h>
-@@ -607,13 +607,7 @@
-
- int main(int argc, char *argv[])
- {
-- char *bindirname = dirname(argv[0]);
-- if (!strcmp(bindirname,"."))
-- dirprefix="/usr/share/games/crashtest";
-- else
-- {
-- dirprefix = dirname(bindirname) + std::string("/share/games/crashtest");
-- }
-+ dirprefix="@GENTOO_DATADIR@";
- if (getenv("PLODE_DATADIR"))
- dirprefix = getenv("PLODE_DATADIR");
- modelmap = new ModelMap(dirprefix);